Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: HTML DOCTYPE declaration


Message #1 by Greg Hill <ghill@s...> on Fri, 13 Sep 2002 15:43:58 -0700
You'd better show some CSS rules (and a test webpage) to let us know which
one didn't work.

> -----Original Message-----
> From: Greg Hill [mailto:ghill@s...]
> Sent: samedi 14 septembre 2002 00:44
> To: javascript
> Subject: [javascript] HTML DOCTYPE declaration
> 
> 
> Strictly speaking, this isn't a Javascript question, but I don't know 
> where else to turn, and I figure some members of this list are likely 
> to know something about it, or could at least point me to the proper 
> source.
> 
> I'm developing some intranet web pages for use on  MACs under both IE 
> and NN (including NN7, which I just installed today), making 
> extensive use of Cascading Style Sheets.
> 
> Based on the W3C HTML 4.01 Specification I have included:
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
>      "http://www.w3.org/TR/html4/loose.dtd">
> 
> at the top of all of my documents.  I have found that with this (it 
> doesn't seem to matter whether I specify "loose.dtd", "strict.dtd" or 
> "frameset.dtd") all of my CSS stuff works perfectly with IE, and none 
> of it works with NN.  When I remove it, a lot of CSS stuff starts 
> working in NN that didn't work before, but then some of it stops 
> working in IE.
> 
> Does anyone have any ideas about this?
> 
> Thanks.
> 
> --Greg
> 
> 
> ---
> 
> Improve your web design skills with these new books from Glasshaus.
> 
> Usable Web Menus
> http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/th
eprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20

  Return to Index