Re: styling xml with css - copying xml attribute values into CSS attribute values

On Thu, 15 Dec 2005 22:27:25 +0100, Noah Scales <noahjscales@yahoo.com>  
wrote:
> You think that CSS doesn't give meaning to HTML, that
> it just gives HTML mark-up display semantics. Sure, in
> the same way that accompanying CSS styles my custom
> hypertext mark-up. The only difference is that
> browsers have default CSS interpretations of the
> "meaning" of HTML coded into them.

Not just that. CSS does not define what is a link for example. It can  
select a link. CSS does not have knowledge or anything to say regarding  
the language of the document. Regarding what is or what is not a quote.  
What is a header and what is not a header. Such underlying semantics are  
quite important for devices though. (Skipping through
headers, letting the user know extra information regarding the quote,  
etc.) Such underlying semantics are only exposed because devices have  
knowledge about the elements and not because they have knowledge about  
their default style.

Which is logical, as the default style might only be applied for a  
particular medium and not for all. CSS has always been designed as an  
optional styling language.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>

Received on Thursday, 15 December 2005 21:38:40 UTC