/ Published in: CSS
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
PHP: function non_footer_start() { echo '<div id="non_footer">'; } add_action('thesis_hook_before_html','non_footer_start'); function non_footer_end() { echo '</div>' . "\n"; } add_action('thesis_hook_after_content_area','non_footer_end'); CSS: html, .custom {height:100%;} #non_footer {min-height:100%; height:auto !important; height:100%; margin:0 0 -9em;} .ie #non_footer {padding-bottom:0 0 -9em; margin-bottom:0;} .custom #footer_area {height:9em; clear:both;}