Float property vs position property. | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

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?

28th Aug 2017, 2:53 AM
Von
Von - avatar
1 ответ
+ 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
1st Sep 2017, 7:37 AM
Hashtag
Hashtag - avatar