Page is a not externally linkable
- Code, Content, and Presentation
-- HTML
---- Making horizontal boxes
swa66 - 9:44 am on Oct 20, 2012 (gmt 0)
You do need to look into CSS and indeed, you need to learn it as Lucy24 says.
To bootstrap you a bit: CSS has a number of way to position things:
inline: (and/or inline-block): an element is like a word on a line of text. Put some of these one after the other and they'll act like words on a line, including wrapping when they run out of width, and overflowing if they have to.
floating: the old school favorite (old versions of IE have horrible CSS support) is much like an image with the align="left" or align="right" property back in the old days of HTML 3.x: they place themselves to a side and will let the rest of the text flow next to them, pushing text out of the way.
relative positioning: rarely used: but you can "nudge" elements in any direction (often this property is used for "side effects" such as triggering features in IE to avoid bugs or to make the element gain "position" (see further)
absolution positioning: this puts an element relatative to the closest parent that has gained position.
fixed positioning: this puts relative to the viewport (the screen, so it does not scroll with the page.
Thread source:: http://www.webmasterworld.com/html/4510047.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com