I have 3 columns with divs, the middle one has fixed size 977px, Left and Right one have no width, Im trying to set them automatic to have size equal to max window size - middle div size (977px) and devided by 2. So the left and right one are the same size. Is there any way to do that.
-
You could make 2 container div, with max size, and inner div's make on %.Arturs– Arturs2013-08-23 11:05:51 +00:00Commented Aug 23, 2013 at 11:05
-
Since you tagged "CSS3", will you be satisfied with flexbox?Passerby– Passerby2013-08-23 11:18:27 +00:00Commented Aug 23, 2013 at 11:18
-
As far as I know, it's not possible without the calc() function introduced in CSS3. like width:calc(100% - 400px);Kotzilla– Kotzilla2013-08-23 11:23:38 +00:00Commented Aug 23, 2013 at 11:23
Add a comment
|