Forums

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

Home Forums JavaScript Full screen div minus X px’s Re: Full screen div minus X px’s

#143306
Kitty Giraudel
Participant

Why JS when you can do the same in CSS?

.header {
position: absolute; // Or even fixed
top: 66px;
bottom: 0;
left: 0;
right: 0;
}