...

View Full Version : Problem with CSS drop down menu in IE



toastedsock
05-07-2009, 12:58 AM
Hi,
I've been working on this site for one of my professors at my university and I'm having some problems getting the drop down menu I used for the site to work in IE. I followed the tutorial here (http://ago.tanfa.co.uk/css/examples/menu/tutorial-h.html) and the menu looks great and works great in Firefox but it doesn't in IE. So I then implemented the fix that the site suggests for IE but it still doesn't work and I have no idea why. I got the file that the tutorial says I need and I placed it in my site's root directory. So I don't think that that's the problem. I also checked out the tutorial site's example menu in IE and it works great so I know that their method works. The site that I'm working on can be found here (http://infravolc.nmtgeop.net/). Any advice that anyone can offer would be greatly appreciated.

Thanks,
toastedsock

SB65
05-07-2009, 10:53 AM
It's your doctype.

Change


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

to:


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

and give that a try.

toastedsock
05-07-2009, 04:28 PM
Thanks man that did it. If you have the time could you explain to me why that works?

abduraooft
05-07-2009, 04:34 PM
Thanks man that did it. If you have the time could you explain to me why that works?
Check http://www.alistapart.com/articles/doctype

toastedsock
05-07-2009, 08:47 PM
That's awesome. Thanks for all the help.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum