...

View Full Version : I'm having trouble with my CSS drop menu!



wushudragon84
01-01-2010, 06:53 AM
I made a pure image of a drop menu provided be a friend of mine, but after some coding I managed to make it use images instead of text as buttons. This method worked beatifully....Except one thing. It doesn't work on POS Internet Explorer and I don't know why.

http://www.asdfc.com/test.html

Is the link to the page (don't worry, virus free). If you notice it works perfectly fine with Firefox, but FAILS with Internet Explorer.

Any suggestions in the change of code to fix this issue?

Thanks!

vineet
01-01-2010, 07:37 AM
you are missing doctype before start of <html>



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


vineet

wushudragon84
01-01-2010, 03:46 PM
you're right, it worked! I'm not sure why, but thanks a bunch! =D

vineet
01-01-2010, 03:52 PM
good to know its solved.

here is the explanation why doctype is important

http://www.oreillynet.com/pub/a/javascript/synd/2001/08/28/doctype.html

vineet

abduraooft
01-02-2010, 08:17 AM
ALA has a better article at http://www.alistapart.com/articles/doctype/



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum