hwg-techniques archives | Mar 2002 | new search | results | previous | next |
For XHTML you need this doctype: <?xml version="1.0"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> I got this from http://www.xhtmlguru.com/ There are quite a few other useful things on this site, too. HTH ----- Original Message ----- From: "Nathan" <natelyle(at)chartermi.net> To: "HWG Techniques Email List" <hwg-techniques(at)hwg.org> Sent: Sunday, March 10, 2002 5:25 PM Subject: Kinda-answer (was the whole style sheet spacing problem thread) > After hours of "fun"... I tried removing the doc type declaration at the > top of the file > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" > "DTD/xhtml1-transitional.dtd"> > > and behold, the spaces showing up in Netscape and Opera went away. Maybe I > am misunderstanding the doctype thing, or maybe there are some bugs in > implementation? If anyone is a whiz with doctypes I wouldn't mind a quick > pointer or two. May be that I should be setting it for HTML transitional > instead of XHTML? I'm going to go browse the W3C pages a bit and see if I > can figure this out. Talk about the headache. <sigh> > > ~Nathan Lyle > E-mail: natelyle(at)chartermi.net > Web: http://www.nathanlyle.com > Phone: (906)485-4806 > > > "In the beginning the Universe was created. This has made a lot of people > very angry and been widely regarded as a bad move." - Douglas Adams. The > Hitch Hiker's Guide to the Galaxy, Introduction. > > > > > >
HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA