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

    If I use Doctype the settings of the submenus in java script download get lost.

Return to Recent Questions


Q: Is there any need to classify a certain Doctype in order to get the java script download working correctly?
I'm using java script download - 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 java script download 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 navbar | bootstrap button | mp4 to webm | css3 menu | image slider