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


 

    But when I change my Doctype, all the down menus dhtml break on the sites.

Return to Recent Questions


Q: Could you please just help me - I have been using quirks mode to create our customer sites and would now like to start using a proper doctype like:



But when I change it, all the down menus dhtml break on the sites.

A: Try to specify all units in "px":

var itemPadding="3px";

var itemStyles = [
["fontStyle=normal 11px Lucida Sans Unicode","fontColor=#FFFFFF,#FFFFFF","itemBackColor=#DE2829,#C62829","itemBorderWidth=0",
"itemBorderColor=#FFFFFF,#C21212","itemBorderStyle=solid,solid",
"itemBackImage=blank.gif,blank.gif","itemWidth=160px"], ["itemWidth=129px"],
];

var menuStyles = [
["itemSpacing=0", "itemPadding=8px"]
];







Return to Recent Questions

Related:
Bootstrap Popover Button Bootstrap Pagination Responsive  |  Bootstrap Modal Position  |  Bootstrap Input Validation  |  Bootstrap Buttons Group  |  Bootstrap Alert Colors  | 
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 Generator | AI Website Maker | Website Generator AI | AI web design generator | AI web page design generator