css - Complicated sticky footer and 100% content height -
i'm trying stretch content div 100% height:
http://new.art-frame.spb.ru/catalog
content div:
<div id="rt-transition">...</div>
footer:
<footer id="rt-footer-surround">...</footer>
the problem is, can't change html layout, css.
(the best way use firebug/chrome inspector see what's about)
html { position: relative; min-height: 100%; height: auto; margin: 0; } body { margin: 0 0 100px; min-width: 100px !important; } footer { position: absolute; left: 0; bottom: 0; height: 100px; width: 100%; }
try changing height
of html
100%
instead of auto
. then, play around css of elements inside make fit. if there excess overflow, use
body { overflow: hidden; }
to solve problem, although won't allow scrolling.
Comments
Post a Comment