CSS

ShscWiki :: LogIn :: PageIndex :: RecentChanges
CSS stands for "Cascading Style Sheets", and is a system for controlling how web pages are displayed, read, printed, or otherwise rendered into a readable format.

HTML is a markup language by design, and many purists (including many SH/SC denizens,) insist that it should be used only for markup, and that any formatting should be done in a CSS file. This is called "formatless design" and is definitely a BestPractice, because then you can make sweeping changes across an entire site just by editing one CSS file. Users can also provide their own CSS file (some Alternative Browsers may make this easier than others) to determine how the content is rendered. You may also provide rendering instructions for printing that produce a "printer-friendly" version of the page without you manually having to create one for every document you create. CSS is extremely powerful when used properly, and as such, is worth investigating by any web designer.

This article is ©2008 by the respective authors. Reproduction is prohibited without express permission from all contributors.