Fill empty space with div tag
Posted: Thu Jul 05, 2012 4:36 pm
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
. And I wondered if a kind soul could help me get on the right way.
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