2 replies [Last post]
Da Devil
Da Devil's picture
User offline. Last seen 5 years 45 weeks ago. Offline
rank Regular
Regular
Timezone: GMT+1
Joined: 2004-10-17
Posts: 11
Points: 0

I made a horizontal menu, with sub-menu's (in the header, called headermenu). The problem is that i can't get the sub-menu's vertical..., below the horizontal one. ( I looked on the internet, i found some things, but something goes wrong if i want to do that.. :\ so it doesn't work.) So, if anyone wants to help me, please Smile

To view the code, just look in the source of http://tvermeulen.1-eurohost.com/school/index.html; and click here to see the css.

Oh btw, if anyone can give me the correct javascript (for IE), please do it Tongue

~thanks

Tony
Tony's picture
User offline. Last seen 5 hours 26 min ago. Offline
rank Moderator
Moderator
Timezone: GMT+10
Joined: 2003-03-12
Posts: 3215
Points: 522

Vertical list in horizontal submenu problem...

Hi Da Devil,
You need to position the li relative.
At the moment the position of the second level is taken from the UL which starts at the left side of the page.
Once the li's are relative the ul within them will position from the li.

Hope that helps

Your question may have already been answered, search and read before you ask.

Da Devil
Da Devil's picture
User offline. Last seen 5 years 45 weeks ago. Offline
rank Regular
Regular
Timezone: GMT+1
Joined: 2004-10-17
Posts: 11
Points: 0

Vertical list in horizontal submenu problem...

That solves the problem that it's vertical, now another problem, the rows under it, are wider and are 2/3 px. to the right... what's the best way to fix this? Smile