I have a #main div that I would like to fill a page between the header and footer when there is no content. When there is content, it should push the sticky footer what it does.
CSS
#main { background: transparent url("images/main-content.png") top right repeat-y; clear: both; overflow: hidden; margin-top: -10px; height: 100%; min-height: 100%; }
I am not sure why this is not working. #main inherits from #wrapper and body , so I think setting 100% height and a minimum height of 100% will work.
Site:
http://www.dentistrywithsmiles.com
Thanks in advance for your help.
source share