previous gallery entrance next
   
 
the Web 
Style sheets give you the ability to control the presentation of a Web document without compromising its underlying structure
STYLE SHEETS ARRIVE!
WWW GETS EXTRA STYLE THANKS TO CASCADING STYLE SHEETS

The World Wide Web Consortium describe CSS1 as ‘a simple style sheet mechanism that allows authors and readers to attach style to HTML documents.’
   According to its authors CSS1 uses ‘common desktop publishing terminology’ which should make it easy for professional as well as untrained designers to make use of its features. This page introduces some of the basic concepts and describes the font related features of CSS1. For full details of the CSS1 specification please see the official W3C Cascading Style Sheets page.
   CSS1 provides the designer with various ways of specifying style for a Web page. Style information can be stored in an external file and referenced by any number of Web pages, or the attributes can be applied to a specific section of text within the body of a page. The method described below involves including style information within a STYLE section in the HEAD part of a particular HTML file. Style properties can be applied to HTML elements at the block level and at the text or

inline level. Block level elements are those that usually cause paragraph breaks.
         USES COMMON
DESKTOP PUBLISHING
TERMINOLOGY        


These include H1 to H6 (headings), P (paragraphs), and LI (list items). Text level elements include EM, STRONG and CITE as well as B, I and A (hypertext anchors). In CSS1 HTML elements are known as selectors.
   CSS1 supports 35 different properties which can be applied to selectors. Properties include background (color or graphic), font-size, font-weight, line-height (leading or interlinear spacing), font-family, letter-spacing and word-spacing. A property and its associated value is known as a declaration.
• Håkon W Lietoken graphic

   Style sheets will not stop bad practice in Web page design, just as they have not stopped bad practice in word processing or desktop publishing design. However, they provide Web page designers with the facility to define appearance whilst maintaining the structural features that make HTML so useful.