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

    If I use Doctype the settings of the submenus in menu bar script get lost.

Return to Recent Questions


Q: Is there any need to classify a certain Doctype in order to get the menu bar script working correctly?
I'm using menu bar script - 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 menu bar script 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. criador de site gratis | mobiele website bouwen | Free Bootstrap Template | bootstrap modal popup | css menu