tags:

views:

61

answers:

2

Hi guys. I'm having problems getting some divs to display inline. I've tried a bunch of things but nothing is working correctly. How do y'all normally do it? Floating them? Putting them in a list and lining that up? Maybe I'm not thinking of something =/

Thanks.

+1  A: 

DIVs are "block" elements by default. If you want inline behaviour, use the style element "display: inline"

-Oisin

x0n
A: 

You can either do it with float, absolute positioning, or tables (not reccommended for layout). Have a look at some tutorials, here's one that'll get you started :D

http://www.456bereastreet.com/lab/developing_with_web_standards/csslayout/2-col/

CrazyJugglerDrummer