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