A Guide to Basic CSS Layout Structures and Quirks
db.marknadal.com
db.marknadal.com
[1]: http://www.adamkaplan.me/grid/
[2]: All except the "float: left" stuff; I'm still on the fence between that and "display: inline-block; vertical-aling: top"
Especially if its a list I always use inline-block but they each have their drawbacks.
Then again, you might just want to look at a grid system which will handle all the quirks for you.
I might suggest pagination, and individual pages for each example, since as you get further down the story and are resizing to see behavior, the page scrolls horizontally and you lose your vertical position (on Chrome, at least).
— [0]: https://developer.mozilla.org/en-US/docs/Tools/3D_View
It's not applying because there's no height / max-height set, so the text is free to wrap and grow the element vertically.
I suppose it says a lot that these aren't so odd, but only because we've gotten used to the behavior. Stockholm syndrome, anyone?
I wait for the day that float-based layouts will be seen as antiquated as table-based layouts.
Firefox also only has partial support.
http://caniuse.com/#feat=flexbox - see the "Known issues" tab for other caveats.
This is going to prevent widespread adoption for a while.
text-align: justify;
on inline-block elements to avoid floats.Use row-based layouts, but without the <table>s.