|
If I use Doctype the settings of the submenus in double drop down menu get lost.
Return to Recent Questions
Q:
Is there any need to classify a certain Doctype in order to get the double drop down menu working correctly?
I'm using double drop down menu - DHTML Menu 2.0 and have some problems with the Doctype
declaration.
If we use the XML declaration (like this:
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">)
the padding and margin settings of the sub menus get lost.
How I can fix this?
A:
Yes, it happens if you haven't specified units in "px" for some double drop down menu parameters.
Please, try to write so:
var itemPadding="2px";
Return to Recent Questions
Related:
- March 12, 2009 - I have problems with image paths when I create menus in css in DHTML Tuner.
- March 14, 2009 - I am having a problem with css styles in the vertical menu css.
- March 15, 2009 - I have problems with transitional effects in Firefox in the html menu creator...
- March 27, 2009 - I can't validate my pages with W3C or WDG validators using css rollover menus...
- Apr 05, 2009 - We have status bar errors that say: "Done, but with errors on page" in menu and button...
- Apr 07, 2009 - I want to get my text within a single pop up menu code item to be on a two lines...
- Apr 13, 2009 - I have some problems with multiple show pop up menu on my site.
- Apr 20, 2009 - I need the BG color behind items to be flush with the sides of the drag and drop javascript.
- Apr 24, 2009 - I have an errors on the horizontal menu javascript in HTML application with 4 iframes.
- Apr 25, 2009 - How to work with pulldown menus and submenus in JSP?
- Apr 28, 2009 - There is some bug with your javascript menu frames and Page Zoom function in IE7.
|