Home › Forums › JavaScript › Full screen div minus X px’s › Re: Full screen div minus X px’s
July 17, 2013 at 7:35 am
#143295
Member
I’m a novice when it comes to JS/JQ but I have a couple of (ignorant) questions.
Why are we using WindowWidth? Isn’t the header automatically 100% wide?
What does the marginTop get us other than pushing the header down? Don’t we want the header to reach towards the bottom of the screen **except** for the **bottom** 66px?
Can we not use something like
‘height’:windowHeight – 66 (px), // or however that is supposed to go