(c) 2007, DHTML-Menu.com
 
   
   
  Support
  Recent Questions
  Write To Support
 

    If I use doctype the settings of the submenus in drop down menu example get lost.

Return to Recent Questions


Q: I am using drop down menu example - Deluxe Menu 2.0 and have some problem with the doctype declaration.
Is there any need to classify a certain doctype in order to get the menu working correctly?
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 submenus get lost.
Are there any known solution to fix this?

A: Yes, it happens if you don't specify units in "px" for some dropdown menu parameters.
Please, try to write so:

var itemPadding="2px";






Return to Recent Questions

Related:
   
Copyright (c) 2012, DHTML-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Write Us
All rights reserved. free website builder | bootstrap slider | responsive menu | bootstrap 4 themes | website generator