Problem defining the height of an element using JavaScript?

Try to append 'px' at the end of the computed value.

Try to append 'px' at the end of the computed value. (window. InnerHeight - document.

QuerySelector("#footer"). OffsetHeight) + 'px.

Ah, silly me! That's fixed it. Thanks.

– 木川 炎星 Nov 11 '10 at 13:24.

If it does not it may be that nothing is set, jQuery does not need the style to be present to change it using the css function.

Yes, #body has a css height of 100%, and the result is that #footer gets pushed off the bottom of the screen. – 木川 炎星 Nov 11 '10 at 13:20 but does it have a style attribute?

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions