I have two JSP pages that are about the same. Each page has an external DIV that has a position / relative property / value. Each page also has an internal DIV, which has an absolute property / position.
On one page, an absolute positioned DIV does not hang over any other elements on the page โ it simply stops moving before moving through other elements when the window is resized.
On another page (which has the exact same external DIV and internal properties and DIV values), absolute positioned DIV DOES hover over other elements on the page when I resize the window.
Any thoughts on why this might be happening? I ultimately want both absolute positioned DIVs NOT to hang over any other elements on the page ...
Here's a snippet of markup and css ...
CSS
.BODY_OUTLINE {
position: relative;
border:2px outset white;
border-top: none;
font-style: normal;
margin: 0px;
margin-right:7em;
padding-top:0px;
FONT-FAMILY: arial, tahoma, verdana, sans-serif;
width:100%;
}
HTML
<DIV CLASS="BODY_OUTLINE">
...
<DIV STYLE="border:10px outset gray; position:absolute; right:20%; top:20%;">
source share