Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Re: TT2 -- A Matter of Style

by BrowserUk (Patriarch)
on Jun 15, 2002 at 09:51 UTC ( [id://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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-04-26 03:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found