Crazy Jumping <DIV>

Discussion in 'CSS' started by mflair2000, Aug 12, 2008.

  1. #1
    hey,

    great forum; new to css; original problem i had was with IE7 and <DIV> floating when i was scrolling down the page;
    i was able to conquer this (sort of) by using combination of relative/absolute <DIV> positioning..

    Problem 1:
    ..i have a drop down menu that expands and when click on an item; it is does not float (perfect)...when i scroll a little bit down the page...and try to click a link in the menu... the entire <DIV> jumps to it's absolute positioning @ the top of the page and stays there...

    Any thoughts?


    <div style="position: relative; background-color: white;z-index: 1; ">

    <!--- ASP.NET Code --->

    <div id="panel1" style="background-color:#fff;position: fixed; visibility:hidden;border:ridge 1px black;padding:5px;width:200px;">

    <!--- ASP.NET Code --->

    </div>

    </div>

    <div id="Panel2">
    <!-- some other code -->
    </div>
     
    mflair2000, Aug 12, 2008 IP