Why is using floats bad, and what are the abstractions one would use in place of floats? Tables? Or grids?
Why is using floats bad, and what are the abstractions one would use in place of floats? Tables? Or grids?
I've posted a bug report demanding a clarification of the documentation on that point.
Not surprisingly this "system" (this word really makes it sound more than it is) can be found on one of the CSS Lint creator's Github: https://github.com/stubbornella/oocss/blob/master/core/grid/...
While simple, it's definitely way more elegant than some of the grid systems I've seen built, such as the popular 960 fluid grid layout that ultimately generated nearly 800 lines of CSS for 5 columns.
It also goes hand in hand with the core principles of OOCSS, which essentially states to extend classes and use multiple classes per element.
The usage of floats all over the place is no longer justified since all major browsers support now inline-blocks and CSS tables.