Menu's Divs and Relative Position

R

Rain

In the example below. If I have the position:relative in the first div, then
the menu disapears when dropped, if I do not have it, then it apears over
the top of all the other divs when dropped.

Why ??????

<div style="position:relative;">

<asp:Menu ID="Menu1" runat="server" Orientation="Horizontal">

<Items>

<asp:MenuItem Text="Hello">

<asp:MenuItem Text="Hello"></asp:MenuItem>

<asp:MenuItem Text="Hello"></asp:MenuItem>



</asp:MenuItem>






</Items>

</asp:Menu>

</div>

<div
style="background-color:green;width:400;height:30px;position:relative;">

<div style="background-color:red;width:600;position:relative;"> SAMPLE
TEXT</div>

</div>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,810
Latest member
Kassie0918

Latest Threads

Top