positioning issue in IE9
-
Hi, i have used the below css class to display menu(onmouse over of a button)
.p-menu
{
z-index: 50; position:absolute; display: none; top:0px; left:0px;
}the above works fine in IE8 where as in IE9 it goes top left corner of the browser.... please let me know any suggestion...
-
Hi, i have used the below css class to display menu(onmouse over of a button)
.p-menu
{
z-index: 50; position:absolute; display: none; top:0px; left:0px;
}the above works fine in IE8 where as in IE9 it goes top left corner of the browser.... please let me know any suggestion...
Position absolute places the element relative to the first 'relative' parent element it finds. So if you have the following structure:
And you position div3 absolute it will be positioned relative from the coordinates of the body element. Now lets say you provide the following style to div1
position: relative
. Then all of a sudden div3 will be positioned relative to the topleft coordinate of div1. -
Position absolute places the element relative to the first 'relative' parent element it finds. So if you have the following structure:
And you position div3 absolute it will be positioned relative from the coordinates of the body element. Now lets say you provide the following style to div1
position: relative
. Then all of a sudden div3 will be positioned relative to the topleft coordinate of div1.Just read this and would like to add that there the issue is not IE9 but IE8 not conforming to standards (as per usual) and thus giving you different displays X|