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

Home Forums CSS CSS Height by percentage Reply To: CSS Height by percentage


@intodesign, you can use percentages. The only thing your missing is setting html to height: 100% as well as the body. And I’d remove all the width statements – the block level elements will take up all available width by default. You may want to set the body margin and padding to 0.