box height within container

liunx

Guest
Hi,

I have a div element used as a wrapper for two more divs laying side-by-side like columns, one for the main content, the other for some extras at the right side.

Now my question: how can I have the two inner boxes streched to the same height via my css? I cannot specify an absolute pixel value as it depends on the content how "long" they should be.

Primarily I want to have a vertical border line between the two parts, and as I use this page layout as sort of a template I have to make sure the border line goes down to the bottom of the wrapper element in any case ?sometimes there could be more content in the main box than in the right box or the other way round. Using border-right for the main div as well as border-left for the right div doesn纾
 
Back
Top