December 2001
Intermediate to advanced
480 pages
9h 22m
English
When a CSS style sheet or a set of sheets for a web site is developed and refined, you can save a great deal of time by creating a CSS style sheet. As examples in previous chapters have shown, several different web pages can use the same style sheet saving time and bandwidth.
Follow this next set of steps to create an external CSS style sheet:
Write your styles as you would normally, except do not include any HTML tags other than those in CSS definitions.
Save the file as a text file with .css extension.
In the <head> container of your HTML page, enter this tag:
<link rel="stylesheet" href="URL.css">
That’s all there is to it. Design once; use often! The following two scripts show an example of a style sheet and a page ...
Read now
Unlock full access