|
|
|
|
|
by seunghomattyang
5422 days ago
|
|
I only recently started learning HTML and CSS so I was wondering if there is a good resource for learning how to use grids. I don't exactly understand how to use grids (or even why). Is it for visual consistency or is there an underlying usability/maintainability benefit to using grids? |
|
http://www.markboulton.co.uk/journal/comments/five-simple-st...
http://www.subtraction.com/2004/12/31/grid-computi
How to use grids? It is usually as simple as adding some css, divs and classes. At its most basic, you can use a gridpaper background or this javascript gridder: http://gridder.andreehansson.se/ that works well with the http://960.gs grid framework.
Why I use grids?
- maintainability and cooperation
- visual consistency across browsers
- less development time spent with display bugs
Why I don't use grids?
- Can become a bit boring/holding you back
- Not all designs work with even columns (for example those based on the golden ratio)
- Code bloat (you are using divs like columns and rows, in almost the same way one would layout a page with tables, also devs sometimes forget to remove the unused classes from the production CSS)