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

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

Return to Recent Questions

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

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

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

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

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

Return to Recent Questions

Copyright (c) 2012, DHTML-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Write Us
All rights reserved. github pages | free icon fonts | free icons | bootstrap navbar examples | HTML5 Video