PDA

View Full Version : AnyLink Drop Down Menu Not Working Well w/ IE 7



jihanemo
10-25-2008, 11:38 AM
1) Script Title: AnyLink Drop Down Menu

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm

3) Describe problem: In IE 7, the drop menus appear out of position - appear at the top of the page, and when they pop up, push my table out of place. Here is the URL: http://www.americanchic.net/testpage.html How can I fix this?

rangana
10-25-2008, 11:52 AM
It's because of the incomplete DTD (http://alistapart.com/articles/doctype) you have which pushes IE into quirksmode.

For a fix, change this part:


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


...into:


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

jihanemo
10-25-2008, 12:04 PM
Amazing. That fixed it. Thank you! :)