(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

Bootstrap Menu Responsive Bootstrap Checkbox Label  |  Bootstrap Grid Tutorial  |  Bootstrap Accordion Table  |  Bootstrap Image Gallery  |  Bootstrap Columns Mobile  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. Best AI Website Builder | Free AI Website Builder | AI Website Generator | AI website design generator | AI web page design generator