(c) 2007, DHTML-Menu.com
 
   
   
  Support
  Recent Questions
  Write To Support
 

    I don't seem to be able to center my javascript side menu. How can I do this?

Return to Recent Questions


Q: The javascript side menu is the Table imbedded to the DIV.

To center the javascript side menu you should paste it within the <div>> or <table> with a static position and specify a center alignment for the javascript side menu, for example:

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

You should also set exact value in "px" for var menuWidth parameter, for example:

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






Return to Recent Questions

Related:
   
Copyright (c) 2012, DHTML-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Write Us
All rights reserved. bootstrap menu | video background | gratis website builder | bootstrap popup window | HTML5 Video