Forums

This topic is locked

centering dhtml menu for 800x600

Posted 28 Apr 2004 18:37:04
1
has voted
28 Apr 2004 18:37:04 leroy mr posted:
Hi,

I built a dhtml menu using dw mx. The nav bar is on a div layer. the z index is 2.

What i need to do is have this nav bar centered on the page for 1024x768 and for 800x600 Right now it works for the 1024x768, but when i change to 800x600 it stays left.

The page is www.cyclecenterracing.com/menu.htm

I want it to act like this page www.cyclecenterracing.com/

I tried using a 100% table and a bunch of other stuff but its not working.

Can somebody show me what I'm doing wrong or how it should be done?
The layer div is srewing me up.

Thank you,

Leroy

Replies

Replied 29 Apr 2004 15:13:48
29 Apr 2004 15:13:48 Dave Thomas replied:
<pre id=code><font face=courier size=2 id=code>
&lt;table width="100%"&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;div align="center"&gt; YOUR MENU STUFF&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
</font id=code></pre id=code>

that should work to center align your div, as the code is correct.

post your code up for the div and table, not the whole page <img src=../images/dmxzone/forum/icon_smile_wink.gif border=0 align=middle>

Regards,
Dave

[DWMX 2004]|[FlashMX 2004 Pro]|[Studio MX 2004]|[SQL]|[Access2000/2002]|[ASP/VBScript]|[XP-Pro]
If you like online gaming, please register @ www.nova-multigaming.com

Reply to this topic