(c) 2016, Deluxe-Menu.com
Ctrl+F2 - enter/switch menu | Arrow keys - navigate | Esc - exit menu  
  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>

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 Tooltip Placement Bootstrap Layout Jquery  |  Bootstrap Breakpoints Responsive  |  Bootstrap Button groups active  |  Bootstrap Navbar Example  |  Bootstrap Jumbotron Header  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. free icons | easy free website builder | formoid.com | free icon maker | css3 menu