I don't seem to be able to center my html menu jscript. How can I do this?
Return to Recent Questions
Q:
The html menu jscript is the Table imbedded to the DIV.
To center the html menu jscript you should paste it
within the <div>> or <table> with a static position and specify a center alignment for the html menu jscript, 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 html menu jscript correctly in all browsers.
Set also:
var absolutePos = 0;
Return to Recent Questions
Related:
- March 26, 2009 - Can you throw some light on how to create horizontal css collapse on ASP?
- March 26, 2009 - After click the links the popup menu right stops showing up in cross-frame mode...
- March 27, 2009 - I cannot select another font type in html menu jscript...
- Apr 10, 2009 - I can not figure out how to fix the menu html code from going off the page in Mozilla...
- Apr 12, 2009 - Could you tell me how to create popup menu right if it's possible?
- Apr 12, 2009 - For some reason my item separator image won't show in menu css horizontal...
- Apr 13, 2009 - What the options of CSS parameters in the html menu jscript?
- May 01, 2009 - Is it possible to generate a html menu jscript with NO DROP SHADOW effect...
- May 15, 2009 - I can see the down arrows of my java script download on the main page only, how to fix it?
- May 18, 2009 - When I upgraded the browser to IE 7, the html menu jscript doesn't show any more.
- Jun 01, 2009 - Is there a way to center java script download text because they are left justified now?
|