Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS

jason limmm
jason limmm
8,009 Points

unable to put two buttons together

here is my snapshot:https://w.trhou.se/clnisz0f9

i am unable to make the buttons stick together in the form.

i want them together like this

previous | next

but right now they're like this

previous

next

i set the #emailinput to display:none if you're wondering why you can't see it.

Steven Parker
Steven Parker
231,268 Points

The system says:
Bummer...
  The Workspace Snapshot you are looking for doesn't exist.

1 Answer

Steven Parker
Steven Parker
231,268 Points

I couldn't get to the snapshot, but check if this isn't another block display issue. It's normal for block elements to appear on separate lines unless constrained some way (like with explicit positioning, or in a table, grid, flexbox, etc.).

jason limmm
jason limmm
8,009 Points

https://w.trhou.se/4c582ucw39 here is my snapshot i think this one works

Steven Parker
Steven Parker
231,268 Points

With their current properties (like font size and padding), the buttons are too wide for both of them to fit on the same line inside an 800px container.

Also, I noticed that there are two different elements on the page that have the id of "next". HTML rules require all element id's to be unique.