CSS code:
top:45;
left:98;
float:right;
position:absolute;z-index:2;
I have done the above coding for a floating div
when I wa
Absolutely positioned elements are positioned according to either a relatively positioned ancestor or the window. It sounds like in your case, it's being positioned in the window.
The way to fix this is to put your absolutely positioned