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 trialJ V
3,414 PointsInline-block white-space unnoticed in Chrome Developer Tools?
Why does Chrome Developer tools not show the extra white-space created by inline-block elements?
Also, do all inline-block elements always have extra white-space before and after the element?
2 Answers
Austin Whipple
29,725 PointsBrowsers interpret white space between inline elements in the same way they do white space between words and it's not specifically highlighted in Developer Tools since it's not a margin or padding. This can definitely be a pain to deal with when using inline-block to build layouts rather than floats. Here are a couple resources that might help:
J V
3,414 PointsHi Austin,
I appreciate your input. Good information to put in my notes. :)