Skip to content

Why CSS

August 5, 2009
tags:

1. By editing a single CSS file, you can make sitewide design changes in seconds.
2. CSS lets you output to multiple formats quickly.
3. CSS lets you use logical names for page elements. You can, for example, give a DIV the name “header”, or a H1 the class “headline”. It’s self-describing.
4. External CSS files are cached by browsers, improving load time.
5. CSS eliminates the need for messy code — namely font tags, spacer gifs and nested tables. This improves load time and makes developers’ lives easier.
6. CSS lets you do things normal HTML doesn’t. Examples: better font control, absolute positioning, nifty borders.
7. Practical use of CSS encourages proper HTML structure, which will improve accessibility and search engine placement.
8. CSS’s :hover PseudoClass cuts down on the need to use JavaScript onmouseover calls.
9. If you want valid XHTML Strict you have to use it anyway

Advertisements
No comments yet

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: