CSS code
- Unique elements must have “id” attribute, which is used for style. Repeated elements must use classes.
- Determine Links style through styles of (td {}, td a {}, td a:hover {}). a:hover must redefine only changed atttributes.
- Determine background color for <body>
- Split declarations to groups (fonts, tables, text blocks, divs)
- Determine geometrical dimensions in percents or pixels.
- All colors values must be as short as possible and in high case (#FFF instead of #ffffff).
- All tags and attributes names must be in low case.
- All margins and indents must be defined for all browsers.
- All classes and identifiers must be named logically with one naming convention.
This entry was posted
on Thursday, August 9th, 2007 at 2:10 pm and is filed under CSS code.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.