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

#143357
Eric Gregoire
Participant

+1 for @HugoGiraudel That should stretch the div top to bottom, but the bottom value will push the bottom of the div up 66px from the bottom of the window (or the parent in the case of absolute positioning) and the left and right at 0 will make the div fit as if it were 100%. No jQuery needed in this case.