(c) 2016, Deluxe-Menu.com
Search  
Ctrl+F2 - enter/switch menu | Arrow keys - navigate | Esc - exit menu  
  Support
  FAQ
  Contacts
  About Us
  Recent Questions


 

    If I use doctype the settings of the submenus in javascript dropdown menu get lost.

Return to Recent Questions


Q: I am using javascript dropdown menu - 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

Fine Responsive Web Page Builder | Overview Fantastic Bootstrap Page Themes For Your Company  |  Effective Web Page Design Tools  |  Exceptional Drag and Drop Web Maker App - Honest Review  |  First-rate Easy Website Builder | How-to Guide  |  Fine Open Source Website Maker Software | 2021 Guide  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. AI Website Builder | AI Website Generator | AI Website Maker | Free AI Website Generator | AI web design generator