(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:
Greatest 11 Free Wordpress Alternatives Tools HTML Page Creator Plugins / Overview  |  Effective Link in Bio Services  |  First-rate Responsive Website Builder Software - Beginner-Friendly Guide  |  Most Suitable 11 Best Wix Alternatives Website Creators  |  How To Embed Instagram Feed  | 
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 | AI Website Builder | AI Website Maker | Website Generator AI | AI web design generator