W3C home > Mailing lists > Public > www-html@w3.org > March 2003

Re: Feedback on XHTML 2.0 WD (20030131)

From: Mikko Rantalainen <mira@cc.jyu.fi>
Date: Fri, 28 Mar 2003 00:39:40 +0200
Message-ID: <3E837DAC.3070306@cc.jyu.fi>
To: Brant Langer Gurganus <brantgurganus2001@cherokeescouting.org>
CC: www-html@w3.org, www-html-editor@w3.org

Brant Langer Gurganus / 2003-03-27 22:28:
> Herr Christian Wolfgang Hujer wrote:
> 
>>6. Attribute Collections
>>I'm sceptical about not having a style attribute.
> 
> What's the problem, it is no different from adding an ID and using and 
> ID reference in the stylesheet.

Or you could misuse classes like this:

.f10px { font-size: 10px; }
.f12px { font-size: 12px; }
.f14px { font-size: 14px; }
.red { color: red; }
.white { color: white; }
.bold { font-weight: 800; }

with markup like

<span class="f14px bold red">fubar</span>

You get the idea... The important thing is that removal of style 
attribute doesn't prevent anything that can be done nowadays, but it 
would be harder to create documents that mix markup with presentation.

-- 
Mikko
Received on Thursday, 27 March 2003 17:39:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:54 GMT