Some folks in #symfony were talking about CSS "frameworks" today, and I am in awe.
This is such a horribly bad idea. The whole point of CSS is to separate the content from its display. Using a class of "span-4" has absolutely no semantic value at all, and is tantamount to a named style attribute. This project is clearly run by people who have completely missed the point. If it weren't such a comical failure, it would almost make me sad.The first thing you do, is surround your grid with a container:
<div class="container"> <p>Here's my site!</p> </div>You then use div's with one of the .span-x classes to set how many columns the elements should span.
Here are some examples:<div class="container"> <div class="span-24"> Header </div> <div class="span-4"> Left sidebar </div> <div class="span-16"> Main content </div> <div class="span-4 last"> Right sidebar </div> </div>Notice the "last" class, which every last element inside a container or another column needs.
[ home - archives - quoteboard - blogger decoder - wishlist ]
This work is licensed under a
Creative Commons License.