2

What is the best way ?

I had a look around and best I could find was specifying the left and right div widths.

Whereas I want the center div width specified, and the left and right to fit around that.

BoltClock
  • 700,868
  • 160
  • 1,392
  • 1,356
NimChimpsky
  • 46,453
  • 60
  • 198
  • 311

1 Answers1

0

I don't think you are going to be able to do it without using JavaScript.

Example using jQuery:

$('#div1, #div3').css({width: $(window).width()/2});
Jack
  • 9,448
  • 3
  • 29
  • 33