Re: A framework for style sheet experiments/subsets?

Murray Altheim (murray.altheim@nttc.edu)
Fri, 28 Jul 1995 12:16:10 -0400


Message-Id: <v02110104ac3eb841fa21@[192.188.119.193]>
Date: Fri, 28 Jul 1995 12:16:10 -0400
To: papresco@calum.csclub.uwaterloo.ca
From: murray.altheim@nttc.edu (Murray Altheim)
Subject: Re: A framework for style sheet experiments/subsets?
Cc: www-html@w3.org

>>An upcoming debate is how well the CSS notation would fit into
>>an attribute:
>>
>>  <H1 STYLE = "font.color=red">Headline</H1>
>
>The exmaple implies that there is a single style sheet format.  I tend to
>think that we should keep device dependent data out of the HTML file
>altogether.  Otherwise they will be full of different <STYLE> tags and STYLE
>attributes for every intended audience.
>
> Paul Prescod
>
>----------------------------------------------------------
>Paul Prescod (papresco@calum.uwaterloo.ca)

Paul,

I agree wholeheartedly. I think a note in the header mentioning the style
sheet recommended for the document would be really enough. Please note that
I haven't been part of the style sheet discussion, but I would think
something akin to  this would work:

----- The HTML file: --------------

<HTML><HEAD>
[reference to style sheet]
</HEAD><BODY>

<H1 ID=1>Headline</H1>
<H2 ID=2>SubHeading A</H2>
<H2 ID=3>SubHeading B</H2>
<H2 ID=4>SubHeading C</H2>
<H2 ID=5>SubHeading D</H2>
<H2 ID=6>SubHeading E</H2>

<BODY></HTML>

----- In the stylesheet file: -----

#define <H1 ID=1> font.color="red" font.style="bold"
#define <H2 ID=2> font.color="fuschia" font.style="blink.wildly"
#define <H2 ID=3> font.color="violetta" font.style="italic semibold"
#define <H2 ID="4-6"> font.color="yellow" font.style="bold"

-----------------------------------

Again, I claim ignorance of the guts of a stylesheet, but I think keeping
the actual style information in the stylesheet was the whole point of
adding stylesheets in the first place: not to muck up HTML with
presentation information.

It seems that linking in the stylesheet by id, possibly id list or range
would keep style information completely out of the HTML document, which was
I believe the original intention.

Murray

__________________________________________________________________
      Murray M. Altheim, Information Systems Analyst
      National Technology Transfer Center, Wheeling, West Virginia
      email: murray.altheim@nttc.edu
      www:   http://ogopogo.nttc.edu/people/maltheim/maltheim.html