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

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

Return to Recent Questions


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

To center the javascript scroll menu you should paste it within the <div>> or <table> with a static position and specify a center alignment for the javascript scroll 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 scroll 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 parallax | bootstrap 4 themes | website generator | HTML5 Video | jquery slideshow