- RobotZoo - http://robotzoo.co.uk -
CSS Positioning - Floats
Posted By admin On 29/07/2007 @ 03:51 pm In CSS, Web Design | No Comments
There are a few things you should note regarding floated boxes. For one, the box being floated should have a width defined for it, either explicitly or implicitly. Otherwise, it will fill its containing block horizontally, just like non-floated content, leaving no room for other content to flow around it. As such, floated boxes are always treated as block boxes, even if they are defined using inline elements.
Article printed from RobotZoo: http://robotzoo.co.uk
URL to article: http://robotzoo.co.uk/2007/07/29/css-positioning-floats/
URLs in this post:
[1] http://www.brainjar.com/css/positioning/default3.asp: http://www.brainjar.com/css/positioning/default3.asp
Click here to print.