...

View Full Version : new to DHTML and having problems



miked
12-18-2005, 10:20 PM
see my code below:

//Menu properties
oCMenu.pxBetween=1
oCMenu.fromLeft=304
oCMenu.fromTop=78
oCMenu.rows=1
oCMenu.menuPlacement="center"

i cannot figure out why my nav will not match the width of my main content area. as you can see i have the placement as center and of course my content area is also centered. see the page in action here:

http://www.genefeltonrestorations.com/works/back_page.html

the page is in very rough draft stage. i am really working just to get the nav looking good before i work on the rest. Thanks!

Kor
12-19-2005, 09:12 AM
You menu is absolute positioned, not relative (see the CSS), so that it has nothing to do with your "content" area. It is an independent element, once it's position is absolute.

_Aerospace_Eng_
12-19-2005, 09:45 AM
Make your MainContainer div position:relative; your menu will now move with your layout.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum