I've got a complete newbie question that I can't figure out why it's not working. Basically I'm trying to get two columns of content inside of a div. My probably is that it's acting like it's stacking the two div tags on top of each other.
I have first div called AllContent that is set to keep the overall page content to 800px wide. Inside of that I have
What is being produced is the image to the left as expected but then the floating div on the right is sitting below the image. I can't get the columns to be side by side. Any help would be appreciated.
border: solid 2px #000;
margin:0px 5px 5px 0px;
margin:0px 0px 0px 150px;
Hi dcaverman, A couple of
A couple of things could help here, always specify widths when you float.
If you float something to the right you should put it in the content before what ever is sitting to the left.
Remember to consider the box model, paddings margins etc with width.
To help more we would need to see the markup.