css - footer on the baseline -
css - footer on the baseline -
i cannot figure out why black bar on footer doesn't goes on baseline of window. don't want "fixed" while scrolling. on absolute bottom
html { -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; position: relative; } body { padding-top: 15px; /* 60px create container go way bottom of topbar */ background: #f7f7f7 repeat-x url(<%=image_path('background.png')%>) top left; font-family: helvetica, arial, sans-serif; color: #323232; } footer{ margin: 0px; padding: 10px; background: black; color: white; position: absolute; left:0; right: 0; bottom: 0; }
there's very solid solution mutual problem utilize when want footer 'sticky'.
css css3 zurb-foundation
Comments
Post a Comment