New course! Every coder should learn Generative AI!
Try a free lesson0
Float property vs position property.
If an element is floated. What now becomes of its relationship in terms Normal document flow? Is it still static? Can it be fixed/abosolute/relatively positioned?
1 Answer
+ 2
When You have the element floated (for example left), this element is out of page "flow", but still have static position default. I don't know, can You change the positioning, because I have never tried it, but I think - no. If You want to have next elements unfloated, you should use clear:both