PDA

View Full Version : 2 Column Div


Erindesign
04-13-2008, 05:01 PM
Hey all,

I have 2 divs, floated left and right.

The first div is only 50 pixels, and it sticks to the left side of the page. The 2nd Div I want to stick next to that, but be fluid, fill up the rest of the page on the right of the first.

I tried it and the 2nd div with width:100% doesnt float. It goes to the bottom of the first.

abduraooft
04-13-2008, 05:05 PM
Try http://bonrouge.com/2c-hf-fluid.php

effpeetee
04-13-2008, 05:20 PM
I tried it and the 2nd div with width:100% doesnt float. It goes to the bottom of the first.

How can it go by the side when you have given it 100% width. There is not enough room for it. It can only go below the other div.:confused:

Frank