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

    If I use Doctype the settings of the submenus in dhtml menu css get lost.

Return to Recent Questions

Q: Is there any need to classify a certain Doctype in order to get the dhtml menu css working correctly?
I'm using dhtml menu css - 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 dhtml menu css parameters.
Please, try to write so:

var itemPadding="2px";

Return to Recent Questions

Copyright (c) 2012, DHTML-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Write Us
All rights reserved. mobiele website bouwen | web design software | website generator | banner slider | css menu