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

HTML Build a Simple Website Styling Content Finishing the CSS

Better margin for #new-cupcakes img

I noticed that on the finished Smells Like Bakin' website the bottom lines of the featured cupcake and the bottom new cupcake pictures don't line up if the margin-bottom is set to 20px. Setting it to 19px instead makes them line up nicely.

3 Answers

Good call, and a good eye for detail!

Thanks! Any extra points maybe? ;)

James Barnett
James Barnett
39,199 Points

Keep in mind it doesn't have to look the same in every browser.

Differences in rendering engines, DPI, zoom level, font size & resolution can all affect a layout by a few pixels.