In article <ym****************@news-server.bigpond.net.au>,
"rf" <rf@invalid.comwrote:
dorayme gets this a bit wrong by saying that only the _first item_ is put
back at the vertical position it would have had. She considered the entire
page as a whole, before any floating was done. Floats don't work that way.
Consider it like this:
Not sure this bit is something it got wrong? It was a complicated
context. It was basically supporting most of what rf was saying.
(1) The ul no longer has any content (for layout purposes) and so it has
callapsed to zero height.
After all that is done, each li is put back (floated left) exactly where
they would have been if they weren't floated: a ul margin-top down from the
top of the div.
On the page as seen, at least the _first item_ is so put back. To
see this, it said to try
<li id="noFloat">Item 1</li>
and css:
li#noFloat {float:none}
OP is using the floating to horizontalize the list items, if all
of them are float deprived, they go back different (not to
"exactly where they would have been if they weren't floated")
<li id="noFloat">Item 1</li>
<li id="noFloat">Item 2</li>
<li id="noFloat">Item 3</li>
<li id="noFloat">Item 4</li>
It thought rf's explanations good and menschful. It was a small
detail. Anyway, it has to get back to thinking hard about yogurt.
--
dorayme