CSS

The educational technology and digital learning wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Definition

CSS is a style sheet mechanism that allows authors and readers to attach style (e.g. fonts, colors and spacing) to HTML, XHTML and XML documents. The CSS language is human readable and writable, and expresses style in common desktop publishing terminology.

One of the fundamental features of CSS is the so-called style sheets cascade; authors can attach one or several preferred style sheet(s), define stylesheets for different media (screen, print, projection, handhelds, etc.), define optional stylesheets. In addition, the reader may have a personal style sheet to adjust for human or technological handicaps (or to filter out certain kinds of informations, like pictures). There are rules for resolving conflicts between different style sheets. With the help of some JavaScript code one also may offer several stylesheets to an enduser.

Finally CSS is an important component in so called "DHTML" and AJAX. Programming Dynamic Web pages may involve dynamic change of CSS features.

See also other articles in the CSS category, for example: