Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: Re: TT2 -- A Matter of Style

by BrowserUk (Pope)
on Jun 15, 2002 at 09:51 UTC ( #174824=note: print w/replies, xml ) Need Help??

in reply to Re: TT2 -- A Matter of Style
in thread TT2 -- A Matter of Style

This will probably get castigated for being OT - but maybe this deep in a related thread it won't get noticed:)

Has anyone an opinion or a reference as to why the powers that be opted to require the use of class="someclass" for css/css2/XML?

It struck me in my recent work with CGI/XML::Simple (see, it's Related!:) that 'they' missed a trick here. Instead of:

<html><head><style> .someclass { ... } </style></head><body> ... <div class="someclass">This text has some class!</div> ... </body></html>

Wouldn't it have been simpler, cleaner etc. to allow:

<html><head><style> someclass { ... } </style></head><body> ... <someclass>This text has some class!</someclass> ... </body></html>

That is to say: Why not allow the browser to render the XML directly in the browser by attaching the css directly to the XML tagged data?

I appreciate that this is a meta discussion.. and do not expect an "answer" as such - but if anyone knows or has an opinion I would be interested to hear it.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://174824]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2019-05-26 01:59 GMT
Find Nodes?
    Voting Booth?
    Do you enjoy 3D movies?

    Results (152 votes). Check out past polls.

    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!