User wrote:
If I want to provide alternate stylesheets (eg red.css, green.css), is
it better to put all the stuff that is common to both sheets in a
separate css file (eg basic.css) and use @import at the top of each
alternative?
Does basic.css get downloaded each time the style is changed, or just
once (with the first view)?
Does it matter? - Is there another way? -
You could use basic.css as a *persistent* style sheet, red.css as a
*preferred* style sheet and green.css as an *alternate* style sheet.
<link rel="stylesheet" type="text/css" href="basic.css">
<link rel="stylesheet" type="text/css" href="red.css" title="Red">
<link rel="alternate stylesheet" type="text/css" href="green.css"
title="Green">
14.3 External style sheets; "HTML 4.01 Specification";
W3C Recommendation; 24 December 1999;
<http://www.w3.org/TR/REC-html40/present/styles.html#h-14.3>
--
Steve
Everywhere is walking distance if you have the time. -Steven Wright