August 5, 2009 - Comments Off on Liveblogging DelveUI: Mastering CSS Layouts
Liveblogging DelveUI: Mastering CSS Layouts
Jina Bolton - @jina - Mastering CSS Layouts
- Mastering CSS is really about mastering your workflow. Have a system for starting each project.
- Idea: Keep content images and layout images in separate folders
- Comment your CSS!
- Reference colors at the beginning
- Use CSS Flags to organize sections
- Make a "table of contents" so other team members know where to find things
- Balance readability and optimization
- Avoid using floats so that you don't have to define widths for your elements; let elements use normal flow
- On outermost containers, set line-height: 0--then assign actual line-heights to your individual elements. This helps avoid gap-issues
- Sometimes using a "safe hack" is better than creating another stylesheet for something.
Published by: christygurga in The Programming Mechanism
Comments are closed.