W3C home > Mailing lists > Public > www-amaya@w3.org > July to September 2001

external CSS and "alternate stylesheet"

From: Hugh Sasse Staff Elec Eng <hgs@dmu.ac.uk>
Date: Mon, 6 Aug 2001 15:27:57 +0100 (BST)
To: Amaya Mailing List <www-amaya@w3.org>
Message-ID: <Pine.GSO.4.21.0108061508210.16283-100000@neelix>
I have just creatd some style sheets by hand.  They look like this:

::::::::::::::
aeg_root/dyslexia.css
::::::::::::::
body {
    color : black;
    background : white;
    font : aerial, sans-serif;
    font-size : 200%;
}
::::::::::::::
aeg_root/low-vis.css
::::::::::::::
body {
    color : white;
    background : black;
    font : aerial, sans-serif;
    font-size : 200%;
}
::::::::::::::
aeg_root/standard.css
::::::::::::::
body {
    color : black;
    background : white;
    font : times-roman, serif;
}


Then I did this [head aeg_root/index.html]:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
"http://www.w3.org/TR/REC-html40/strict.dtd">
<HTML>
<HEAD>
<TITLE>The Applied Electromagnetics Research Group</TITLE>
<LINK HREF="standard.css" REL="stylesheet" TITLE="Standard" TYPE="text/css">
<LINK HREF="low-vis.css" REL="alternate stylesheet" TITLE="Low Vision" TYPE="text/css">
<LINK HREF="dyslexia.css" REL="alternate stylesheet" TITLE="Dyslexia" TYPE="text/css">
</HEAD>
<BODY>

[....]

According to my understanding of:
http://www.w3.org/TR/REC-html40/present/styles.html#h-14.3.2
this is all correct.

Invoking Amaya I get the style associated with "standard.css" which is
what I expect. What I do not see is how to invoke the alternate stylesheets.
I looked under all the menus which are available in browser mode, and under
style menu in edit mode, and in any menu I could get by clicking on
the document itself.

[Mind you, I could not see how to get this to work in Netscape 4.72, or IE5.5
either, so comments on those (off list) would help.]

I'm using Amaya 5.1 for Windows, under win98.

	Hugh
Received on Monday, 6 August 2001 10:28:36 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:30:34 UTC