skip to main content

TAMU Webmaster's Blog


Information and insight from the A&M Webmasters

Cascading Style Sheets – Intro

June 28th, 2007 by tamuwebmaster

We strongly encourage the use of Cascading Style Sheets (CSS) as a means of controlling the display of Web content and applications. CSS allows a developer the ability to separate content from design.  The X/HTML controls the semantic information and the CSS controls the presentation information. In other words, X/HTML should mark up what the page means, while CSS determines what it will look like. This then lets you make changes to either without touching the other.

Using separate style sheets rather than inline styles or style blocks in the page’s header allow authors to make wholesale changes in the way a site looks just by editing the style sheet.  This greatly reduces the amount of time spent on site maintenance and redesign.  If a site is well structured, the same content can be styled in any number of ways to make it look infinitely different.  See CSS Zen Garden as an example of this taken to the extreme.

Thursday, June 28th, 2007 Navigation
Share this article

No comments yet.

Leave a comment

Categories

Archives