Tidy issues

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Tidy issues


I just tried Tidy for the first time – on Windows XP SP2.  I used the ‘install’ download.  Two issues:


I used it on a file created with vi under cygwin (attached).  Many warnings.  Here are the issues:


1.  Using the Windows cmd window:


The command line

C:\...>tidy –f warnings.txt –I index.html –o tidy.html

Did not create, or write to, the file tidy.html.  I only got this for

C:\...>tidy –f warnings.txt –l index.html >tidy.html.


2. Once the warnings were fixed, the first line was changed from:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">


This change caused IE6.0 to render the page in a larger typeface!  I checked by simply inserting the original first line in the file, and got back my desired type face.  What’s the difference?



Ken McFarlane


index.html (7K) Download Attachment