I need the DIV to fill the remaining width of the page. This article presents three different ways to make a div take up the remaining height. You can calculate the width of the .second class by calculating the remaining width available with calc. Filling the Space in the Last Row with Flexbox ... Chris needed the final 3 to adjust in width to fill the space, ... make the width at least 25% Promoted by Fullstack Academy. Test your JavaScript, CSS, HTML or CoffeeScript online with JSFiddle code editor. I have a DIV in a fixed position on the bottom of a page which is 354px from the left. The footer is outside the wrapper because I'm going to have it stretched across the entire width of the page ... DIV stretch height to fill remaining of page. overflow:hidden trick to fill remaining width. Like so: width: calc(100% - 264px); The 264 above was calculated from the total width from first and third divs (140px + 100px = 240px) plus the total padding for all elements (24px), Forums CSS Fill Remaining Width? with 2 columns. We created Fox Bazaar for just one purpose - to bring you the most innovative products on the planet at an affordable price. overflow:hidden trick to fill remaining width. CSS - Div To Fill Remaining Area? Similar Tutorials: - Free CSS Tutorials, Help, Tips, Tricks, and More. CSS - Div To Fill Remaining Area? How do you use CSS make a div take up the remaining width of the parent div without creating an overflow? ... Ie Make A Div With No Content Not Fill Up Width. Make right div fill the remaining space, but first in the HTML code. All solutions are CSS only and the pros and cons are outlined too. I want the left div to fit its contents (it's not possible to know the width in advance), and I want the right div to always fill the remaining horizontal space. I figure it's 2010 now (those questions/answers are old and, well, unanswered) and we have CSS3! I have 2 divs: one in the left side and one in the right side of my page. I have 2 divs: one in the left side and one in the right side of my page. Test your JavaScript, CSS, HTML or CoffeeScript online with JSFiddle code editor. This should vertically fill the remaining space of div.window