0

How to make 3-Column layout with fluid center (fully utilize space), and variable-length on sidebars?

The width of sidebars are depends on the length of sentence, so there is no fixed width.

The center column will occupy the rest of free space.

It can be done easily by using "table" tag. I am not sure how to do it in css.

Thanks.

janetsmith
  • 8,562
  • 11
  • 58
  • 76

1 Answers1

4

Does this help?: http://jsfiddle.net/eNDPG/1/

Andy
  • 14,427
  • 3
  • 52
  • 76
  • see also this answer were I also used the `overflow` property to do the trick http://stackoverflow.com/questions/4873832/make-a-div-fill-up-the-remaining-width/22719552#22719552 – Adriano Mar 02 '16 at 11:51