I asked an earlier question about absolute and relative div positioning, but I would like to try to understand (for sure) the role of float in this context.
My main question is: how does float relate to absolute and relative div positioning?
Are the following statements correct (yes/no):
float right(orleft) will try to stack alldivone after the other starting fromright(orleft). If there is not enough space (widthissue), thedivs are displayed at the next ‘line’ (from top to bottom).floatdoes not impactabsolute divever,absoluteoverridesfloatrelative divare positioned relatively to the first enclosingrelative div(absolute divs are ignored)float right(orleft) on adivwill first compute what would be the natural position of arelative div, then add any top-left offset to compute the final position.
Thanks.
http://www.barelyfitz.com/screencast/html-training/css/positioning/ 7,8 and 9
The statements you provided ‘appear’ correct