(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:
Best AI Website Builder - Create Website Design with AI Website Builder for Churches, Authors, Consultants, Magazines  |  Best Website Builder for Education, Software Companies, Designers, Videos  |  Best AI website generator and creator - create a website with AI.  |  Best Website Builder for Digital Marketing Agencies, Travel Agencies, Interior Designs  |  AI website builder and generator - AI-driven websites, limitless possibilities .  | 
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 | Free AI Website Builder | AI Website Builder | Free AI Website Generator | AI website design generator