Klaus,

you are right, my fault (too lazy with copy and pasting as it is still early)

but Doctype does matter when rendering, see

http://www.quirksmode.org/css/quirksmode.html

On Feb 27, 2007, at 8:39 AM, Klaus Hartl wrote:

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
[email protected]
http://jquery.com/discuss/

met vriendelijke groet

Wilfred Nas

user interface specialist

e [EMAIL PROTECTED]
w www.wnas.nl


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to