Re: www-html-d Digest V96 #60

OnSiteCPU@aol.com
Wed, 1 May 1996 17:59:24 -0400


From: OnSiteCPU@aol.com
Date: Wed, 1 May 1996 17:59:24 -0400
Message-Id: <960501175920_482309960@emout15.mail.aol.com>
To: www-html@w3.org
Subject: Re: www-html-d Digest V96 #60

>...
>> why not just use an INSERT tag to include a style definition....
>>
>> <STYLE>
>> 	<BODY BACKGROUND=#000000>
>> 	<STYLE NAME=H2>
>> 	<FONT SIZE=12 FACE=Times,Serif COLOR=#FFFFFF>
>> 	</STYLE>
>> 	<STYLE NAME=H3>
>> 	<FONT SIZE=10 FACE=Times,Serif COLOR=#FFFFFF>
>> 	</STYLE>
>> </STYLE>
>
>Let's compare this with CSS:
>
><STYLE>
>  BODY { background: black }
>  H2   { font-size: 12px; font-family: times serif; color: white }
>  H3   { font-size: 10px; font-family: times serif; color: white }
></STYLE>
>
>In my (biased) eyes, the CSS syntax seems more intelligible. How would
>you mark up context-sensitive selectors in your syntax?
>...

One problem with the latter, is that incompatible browsers would display the
text inside the <style></style> container.  Whereas, the fully tagged format
would just be ignored by those same browsers.

Tom Scott
OnSiteCPU