(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

Bootstrap Switch Value Bootstrap Button groups active  |  Bootstrap Tooltip Placement  |  Bootstrap Navbar Example  |  Bootstrap Textarea Group  |  Bootstrap Breakpoints Responsive  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. mobirise builder | best website maker | free icons | bootstrap forms | bootstrap website builder