Previous Message
Next Message

floats on both left and right side in FF

Sent by Gary Ross on 14 January 2005 03:03


> But 2 doesn't move up because it's floated.  Remove the float from 2.  
> You *still* get [12].  Because floats are removed from the flow, 
> subsequent blocks move up and occupy the same space that they do, but 
> the the float itself does not move up.  Floating 2 just moves it out 
> from under 1, it doesn't move it up.

Yes, I'm aware of that, but to a beginner hearing simply: 'float 
doesn't affect vertical, only left-right' is confusing, because then 
they'll probably conclude
<div style = 'float:left'>1</div>
<div style = 'float:left'>2</div>

will go
1
2
In other words, someone who understands the statement 'float doesn't 
affect vertical' is precisely the person who doesn't need help about 
floats :-)

Gary

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: