Hi,
Although it might seem like I am firing out random posts in quick
succession this matter is indeed one I thought about for quite some
time without coming to a conclusion:
Why is it that most professional CSS authors prefer /float/ing elements
over elements held in place by /position/?
Given, for example, the following layout...
+-----------------+
| 1 |
+---+-------------+
| | |
| 2 | 3 |
| | |
+---+-------------+
....with (1) having some known (say 5em) height and (2) having some
known width (say 5em) I don't see why I should apply float to (2) and
(3) instead of just positioning (3) to {+5em, +5em}.
While trying to find the issue behind this, the more I read about
/float/, the more workarounds, tricks and quirks necessary for broken
CSS implementations I found -- so just why is /float/ better than
/position/?
Please enlighten me :-)
Wolf
Although it might seem like I am firing out random posts in quick
succession this matter is indeed one I thought about for quite some
time without coming to a conclusion:
Why is it that most professional CSS authors prefer /float/ing elements
over elements held in place by /position/?
Given, for example, the following layout...
+-----------------+
| 1 |
+---+-------------+
| | |
| 2 | 3 |
| | |
+---+-------------+
....with (1) having some known (say 5em) height and (2) having some
known width (say 5em) I don't see why I should apply float to (2) and
(3) instead of just positioning (3) to {+5em, +5em}.
While trying to find the issue behind this, the more I read about
/float/, the more workarounds, tricks and quirks necessary for broken
CSS implementations I found -- so just why is /float/ better than
/position/?
Please enlighten me :-)
Wolf
Comment