|
|
But when I change my Doctype, all the css menu example 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:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
But when I change it, all the css menu example 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:
- March 22, 2009 - Do the Vista style css menu example support a separator?
- Apr 09, 2009 - Can I set pointer that tells path to all css menu example files?
- Apr 26, 2009 - My css menu example don't work with a popup...
- May 14, 2009 - I'm having several questions regarding your css menu example
- May 30, 2009 - If the new page in the frame is a frameset itself, the css menu example won't show up.
- Jun 17, 2009 - I want to have a different font and color for my css menu example submenu items...
- Jul 04, 2009 - My html files still open in a new window in my css menu example...
- Jul 21, 2009 - Images of css menu example showing up as blank in the preview screen...
- Aug 07, 2009 - Is using search engine friendly code the same as using normal html css menu example for google?
- Aug 24, 2009 - The css menu example works fine in the css menu example maker preview screen, but not on the html page.
- Sep 11, 2009 - How can I create css menu example using right-to-left languages?
|