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
|