css faq - alternate stylesheets
by "Maren Child" <maren(at)wordsworth.com.au>
|
Date: |
Tue, 13 Jul 2004 11:29:40 +1000 |
To: |
<hwg-xml(at)hwg.org> |
Cc: |
"M Child" <mchild(at)starbytes.com.au> |
|
todo: View
Thread,
Original
|
|
Hi,
thanks for the answers about the header for xhtml. By the way, I was looking
at the css faq and it says alternate stylesheets are not yet supported (see
below). They are now, so this page needs updating.
Regards
Maren
*************
What is alternate Style Sheet? How to link?
Alternate Style Sheet is a sheet defining an alternate style to be used in
place of style(s) declared as persistent and/or preferred .
Persistent style is a default style that applies when style sheets are
enabled but can disabled in favor of an alternate style, e.g.:
<LINK REL=Stylesheet HREF="style.css" TYPE="text/css">
Preferred style is a default style that applies automatically and is
declared by setting the TITLE attribute to the LINK element. There can only
be one preferred style, e.g.:
<LINK REL=Stylesheet HREF="style2.css" TYPE="text/css" TITLE="appropriate
style description">
Alternate style gives an user the choice of selecting an alternative style -
a very convenient way of specifying a media dependent style. Note: Each
group of alternate styles must have unique TITLE, e.g.:
<LINK REL="Alternate Stylesheet" HREF="style3.css" TYPE="text/css"
TITLE="appropriate style description" MEDIA=screen>
<LINK REL="Alternate Stylesheet" HREF="style4.css" TYPE="text/css"
TITLE="appropriate style description" MEDIA=print>
Alternate stylesheets are not yet supported.
HWG hwg-xml mailing list archives,
maintained by Webmasters