1 reply [Last post]
kaancho
Offline
newbie
Last seen: 12 years 15 weeks ago
Joined: 2008-10-04
Posts: 1
Points: 0

I have a css with
#submenu{position: relative;z-index: 10;top:10px;}

if I have

by itself it works but when i put the

    the div is not relative any more. any idea how to fix this?

jlhaslip
Offline
Enthusiast
Last seen: 11 years 34 weeks ago
Timezone: GMT-6
Joined: 2006-02-02
Posts: 199
Points: 0

The UL is a block level

The UL is a block level element.
Try dropping the containing div and adding the ID to the UL?

<ul id="submenu">
<li><a href="#">Insurance</a></li>
</ul>

I'm having a good day...so far.