I'm having a problem with a simple 2-column layout. Here's the css:
body {margin-top: 0px; margin-left: 0px;}
#colA {float: left; background-color: #333300; width: 60%; padding-top: 20px;}
#colB {float: left; background-color: #999966; border: solid 1px #999966; width: 170px; margin-top: 100px; margin-left: 50px; text-align: center;}
and the markup...
<div id="colA">
Some text here.
</div>
<div id="colB">
<img src="image.jpg" align="right" border="0" alt="logo" width="170" height="118">
</div>
and the problem...
Unless the browser window is maximized (or at least nearly so), colB drops down underneath colA. I'd rather have colA and colB remain side by side no matter what, and if a horizontal scrollbar becomes necessary, so be it.
FWIW, I've also tried floating colB right as well.
I'm sure I'm missing something basic here. All clues are welcome.
Thanks,
Mid