Page 1 of 1

Fill empty space with div tag

Posted: Thu Jul 05, 2012 4:36 pm
by joe!
Hi, there. I wondered if there is a way to use javascript to do the calculation on a html page:

the height whole page - height of a 100% wrapper - 30
Then insert that into a div.

Basically I'm making a sticky footer that changes depending on content, it's a search function, how much information is there. I'm not fluet enough in Javascript to do it myself and I've searched all of the internet to find this function :D. And I wondered if a kind soul could help me get on the right way.

Re: Fill empty space with div tag

Posted: Thu Jul 05, 2012 5:07 pm
by pickle
Please explain further what you're trying to accomplish. You may be able to do this with just CSS.