If I use Doctype the settings of the submenus in drop down navigation menu get lost.
Return to Recent Questions
Q:
Is there any need to classify a certain Doctype in order to get the drop down navigation menu working correctly?
I'm using drop down navigation 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 drop down navigation 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 java script menu in DHTML Tuner.
- March 14, 2009 - I am having a problem with css styles in the pop up menu javascript.
- March 15, 2009 - I have problems with transitional effects in Firefox in the menu web...
- March 27, 2009 - I can't validate my pages with W3C or WDG validators using menus using css...
- Apr 05, 2009 - We have status bar errors that say: "Done, but with errors on page" in html side menu...
- Apr 07, 2009 - I want to get my text within a single navigation web part item to be on a two lines...
- Apr 13, 2009 - I have some problems with multiple menus with css on my site.
- Apr 20, 2009 - I need the BG color behind items to be flush with the sides of the drop down menu using.
- Apr 24, 2009 - I have an errors on the java drop down menu in HTML application with 4 iframes.
- Apr 25, 2009 - How to work with dynamic popup menu and submenus in JSP?
- Apr 28, 2009 - There is some bug with your menu and button maker and Page Zoom function in IE7.
|