Forums

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

Home Forums CSS how to fix the height of div same browser height Reply To: how to fix the height of div same browser height

#151780
Hornebom
Participant

try this one or check this pen

<div id="left"></div>

* {margin:0;padding:0;}
#left {
  width: 20%;
  min-height: 100%;
  height: auto !important;
  height: 100%;
  overflow: hidden !important;
  background:red; /* just to see it */
}
html, body {
  height:100%;
}