I have a basic layout question. I want to create a layout with two boxes that are a set side that are side by side. I'll put text or other markup into these boxes. I am trying to avoid using TABLE tags. I was assuming something like:
The CSS for the classes is:HTML Code:<p><div class="content-box1">[ stuff in box 1]</div> <div class="content-box2">[ stuff in box 2]</div></p>
This puts the boxes on top of each other. What am I missing to get them side by side?HTML Code:.content-box1 { width: 400px; height: 400px; background-color: yellow; } .content-box2 { width: 400px; height: 400px; background-color: skyblue; }
Thanks!
Brad!




Reply With Quote
