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.
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.
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});