GeckoX wrote:
> Looks good to me. Only thing I notice is the DTD is for HTML 4.01, not XHTML. 
> It is also missing the xml 
> declaration at the top used by xml-compliant user agents.
 >
 > To fix this, put these at the very top of the pages:
 >
 > <?xml version="1.0" encoding="UTF-8"?>
 > <?xml-stylesheet type="text/css" href="style/main.css"?>
 > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
 > <html xmlns="http://www.w3.org/1999/xhtml"; lang="en" xml:lang="en">

I would recommend *NOT* to put the ?xml headers before DOCTYPE. Not only 
they are *optional* and even worse, IE6 changes into quirks mode for CSS 
layout model if DOCTYPE isn't the first thing in HTML file.



_______________________________________________
devl mailing list
devl at freenetproject.org
http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to