Archives
-
About offsetParent ....
Assume we have a "div" in body: if the div 's position is absolute / relative / static , its offsetParent is body; if its position is fixed , then its offsetParent is null !
Assume we have a "div" in body: if the div 's position is absolute / relative / static , its offsetParent is body; if its position is fixed , then its offsetParent is null !