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

    If I use Doctype the settings of the submenus in vertical javascript menu get lost.

Return to Recent Questions


Q: Is there any need to classify a certain Doctype in order to get the vertical javascript menu working correctly?
I'm using vertical javascript 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 vertical javascript 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. bootstrap 4 | creador de sitios web | website design software | bootstrap menu | bootstrap navbar examples