Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
×
User Journal

Journal m0smithslash's Journal: Cascading Style Sheets: The Definitive Guide - Page 10 - 16

Cascading Style Sheets: The Definitive Guide From the first edition - 2000 - Pages 10 - 16

The LINK tag can be used to include an external style sheet. That way multple HTML files can share the same style sheet. Be sure to use .css as the extension on the style sheet. In the LINK tag, the REL attribute can be set to stylesheet for the primary style sheet or alternate stylesheet. The browser may allow the user to select one of the alternate style sheets.

Imbedded style sheets use the STYLE tag with the TYPE attribute set to text/css. The @import will link in an external style sheet within STYLE tags. Of course, @import is ignored by Navigator 4. To be more compatible with older browers, include the style declarations within the STYLE tag in HTML comments so they are ignored by older browers that don't grok the STYLE tags.

This discussion has been archived. No new comments can be posted.

Cascading Style Sheets: The Definitive Guide - Page 10 - 16

Comments Filter:

U X e dUdX, e dX, cosine, secant, tangent, sine, 3.14159...

Working...