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

Received on Wednesday, 1 May 1996 17:59:26 UTC