(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:
Splendid JS Design Maker Overview How to Make a Webpage - Step by Step Tutorial  |  Magical HTML Bootstrap Slider With Text Templates  |  Awesome Mobile-friendly Website Design Review  |  Exceptional Bootstrap Mobile Template Set  |  30+ Top Innovative Software Company Website Template List  | 
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 Builder | AI web design generator | AI web page design generator