Re: A framework for style sheet experiments/subsets?

>>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

Received on Friday, 28 July 1995 12:17:19 UTC