zavr zavr - 4 months ago 12
CSS Question

Two column layout with left fluid and right fill the rest width

I need something similar to this and this. However I want the right column not to be fixed size, but variable size. Is it possible?

–––––––––––––––––––––––––––––––––––––––––––––––––––––––
|some text|stretch to fill the remaining space | <- viewport
–––––––––––––––––––––––––––––––––––––––––––––––––––––––

Answer

http://jsfiddle.net/A8zLY/2333/ Fiddle from link I posted. right does not need fixed width. See link above

width:auto

Is this what you're looking for?

Comments