1 reply [Last post]
Upper east side
Last seen: 13 years 40 weeks ago
Upper east side
Joined: 2004-04-05
Posts: 40
Points: 0

What is a 'line-box'? I've been reading some articles at www.cssvault.com and alot of the articles on floats refer to 'line-boxes'. So...

i am not here

Hugo's picture
Last seen: 5 years 36 weeks ago
Joined: 2004-06-06
Posts: 15668
Points: 2806

Real simple one!

A line box is the space created around an inline element when the browser has worked out the space required to display the inline elements across the screen.
Elements are basically devided into two types a block level element which allowed takes up the full width of the screen and occupies it's own line, that's to say a block level element following after must start on the next available line bellow they won't sit side by side; inline elements on the other hand are elements like text span em img that follow after each other horizontally until the edge of the screen then wrap to the next line .
Have a read of this page as it's the best I've come across for a clear explanation of box model flow and positioning,



Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me