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


 

    I don't seem to be able to center my html menu bars. Can I do this?

Return to Recent Questions


Q: The menu is the table imbedded to the layer.

If you want to center the menu paste it within the <div>> or <table> with a static position and specify a center alignment for it, for example:

<div align=center>
<script src="data.js"></script>
</div>

Please, set exact value for var menuWidth parameter, for example:

var menuWidth = "500px";
This can help to align your menu correctly in all browsers.
Try also to specify units in "px".
Set also:
var absolutePos = 0;

If you want to use absolute position for the menu, use var absolutePos=1 instead of absolute position for div.





Return to Recent Questions

Mobile-friendly Page Maker Mobile-friendly Web Page Themes Review  |  Responsive Site Theme  |  Bootstrap Site Themes Review  |  Responsive Website Maker  |  Mobile Page Layouts Overview  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. Free AI Website Builder | AI Website Generator | AI Website Generator | AI web design generator | AI website design generator