The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS 100% Width but flexible height. Reply To: 100% Width but flexible height.


Can you make something on the CodePen so we can see what you talking about? If you set background color on div, it will always fill the entire height and width of the div regardless of whether the div is dimensioned with absolute or relative values.