W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2001

Re: HTML Tidy failing on div

From: Daniel Biddle <deltab@osian.net>
Date: Fri, 22 Jun 2001 22:18:51 +0000 (UTC)
To: html-tidy@w3.org
Message-ID: <Pine.LNX.4.21.0106222200300.20503-100000@charizard.blazingfast.net>
On Fri, 22 Jun 2001, Kevin L. Papendick wrote:

> Does anyone have any ideas why HTML Tidy would render this "div" tag:
> 
> <div id="dumbo" class="absolute" style="left:0px;top:0px;width:181">
> 
> as this:
> 
> <div id="dumbo" class="absolute c3">

You should also have a line in the <style> element that says:

 div.c3 {left:0px;top:0px;width:181}

Tidy has cleaned the document of presentational markup, including style
attributes (making it easier to read and maintain as well as reducing the
size in the process). If this is a problem, turn off the 'clean' option.

hope this helps,
-- 
Daniel Biddle <deltab@osian.net>
Received on Friday, 22 June 2001 18:18:31 GMT

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