Wilfred Nas schrieb:
> you may want to start with giving the page a proper doctype.
> 
> than you want to nullify the default margin and padding that an 
> unordered list has...
> 
> Further more, as I read your 'problem' you assume that is correct in 
> other browsers? Which one, surely not IE 6. When developing, start with 
> firefox, safari or other decent browsers and then work your way down to 
> the various IE versions. Preferably with conditional comments...
> 
> When I added a doctype to your page:
> 
> <?xml version="1.0" encoding="utf-8"?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>


Do not use an XML declaration if you are serving as text/html. It's 
wrong. It's simply HTML, not XML. Mime type matters, Doctypes don't.

Besides using this declaration puts IE in Quirks mode again, thus you 
don't win anything and it's actually the same as having no Doctype at all.


-- Klaus

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to