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


 

    If I use Doctype on the page with the javascript menu object the menuBackImage and itemBackImage images do not display properly.

Return to Recent Questions


Q: I am using JavaScript Deluxe Menu v3.1 and have some problem with the doctype declaration. If I use the declaration:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

the menuBackImage and itemBackImage images do not display properly. Check with and without doctype declaration. Is there a known fix for this?

A: You should specify units in "px" for the javascript menu object.

var itemPadding="15px 10px 0px 20px";
var menuStyles = [
["smColumns=2","itemPadding=25px 10px 10px 10px"],
["itemPadding=25px 10px 10px 20px"],
["menuBackImage=img/nahbp_1.gif","itemPadding=25px 10px 10px 20px"],
];






Return to Recent Questions

Related:
Smart Cheap and Easy Web Page Builder Tools | Honest Review Fine Open Source Website Maker Software | 2021 Guide  |  Good Responsive Site Maker Program - 2021 Tutorial  |  Effective Web Page Design Tools  |  Top HTML Site Builder - 2021 Review  |  Exceptional Drag and Drop Web Maker App - Honest Review  | 
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 | Best AI Website Builder | AI Website Builder | Free AI Website Generator | AI Website Generator