Re: Feedback on XHTML 2.0 WD (20030131)

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 UTC