|
|
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:
- Aug 30, 2006 - Can all the java script be contained with in the html and not use an external .js file?
- Sep 11, 2006 - If I use doctype the settings of the submenus in javascript dropdown menu get lost.
- Sep 23, 2006 - Is it possible that javascript drop down menus doesn't put anything on the local computer?
- Sep 30, 2006 - The frame below the javascript menubar is moved to the bottom of the page.
- Oct 27, 2006 - In IE 6.0 and Firefox 1.5.0.4, the submenus of my dhtml dropdown menu are not visible
- Oct 29, 2006 - When I purchse your javascript select menu, does this include any future updates?
- Nov 24, 2006 - Is it possible to have the actual words clickable in order to open up an expandable tree
- Dec 10, 2006 - I need the cursor not to change when hovering over Menu items which don't have links
- Dec 28, 2006 - Is it possible to change from a default target in javascript horizontal menu?
- Jan 09, 2007 - I'm still can't understand how to make drop down menus
- Jan 14, 2007 - I do not understand the instructions for inserting your cross frame menu into a site
|