W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2000

Style attributes in elements?

From: Rzepa, Henry <h.rzepa@ic.ac.uk>
Date: Sat, 11 Nov 2000 21:14:25 +0000
Message-Id: <p05010403b63366f5d033@[155.198.8.73]>
To: html-tidy@w3.org
>On Thu, 9 Nov 2000, Renice Stewart wrote:
>
>> Dave, This perhaps is not a "bug," but it's 'bugging' me.  Why
>> is it that when I use the "center" attribute in the "img" tag, I
>> have to change it to "middle"...  and when I use this same
>> attribute in any other tag, I can keep it as "center."
>>
>> My dilemma is...shouldn't w3 be consistent...Or is there some
>> other reason for this incongruity?
>
>This is an accident of history -- from the way Mosaic implemented
>HTML. W3C is transitioning away from presentation attributes and
>towards the use of style sheets, so this isn't something we can
>easily fix.



Along the same lines, can we persuade  Tidy to convert
element  height and width attributes into their stylesheet
equivalent? 
-- 

Henry Rzepa. Imperial College, Chemistry Dept.
+44 020  7594 5774 (Office) +44 020 7594 5804 (Fax)
Received on Saturday, 11 November 2000 16:14:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:44 GMT