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

    I can't put the dynamic css menu where I want it to appear on my page.

Return to Recent Questions


Q: First, I like the time that I save with your program. But I can't put the dynamic css menu where I want it on my page.

No matter how I set the "positioning", dynamic css menu shows up in exactly the same place over and over. I've try to put it in table cells, I've given it absolute positioning...


A: First of all you should set the following parameter:
var absolutePos = 0;

If you want to center the dynamic css 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/data.js" type=text/javascript>
</SCRIPT>
</DIV>

<table width=800>
<tr>
<td align=center width=600><script type="text/javascript" src="data/data.js"></script></td>
</tr>
</table>

Please, set exact value for var menuWidth parameter in "px", for example:

var menuWidth = "600px";
This can help to align your menu correctly in all browsers.

Try that.





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 | free icons | bootstrap menu | responsive slider | image slider