Sha256: 33a1ccf2195cf4b4ece3c346ff5d1a5f6e86a22cd990528641f0a0b2b2c2a9b0
Contents?: true
Size: 1.05 KB
Versions: 1
Compression:
Stored size: 1.05 KB
Contents
* {margin:0;padding:0;} /* must declare 0 margins on everything, also for main layout components use padding, not vertical margins (top and bottom) to add spacing, else those margins get added to total height and your footer gets pushed down a bit more, creating vertical scroll bars in the browser */ html, body, #wrap { height: 100%; } body { font-size: 62.5%; font-family: Tahoma,sans-serif; color: #575757; background: #606060; } body > #wrap { height: auto; min-height: 100%; background-color: #ffffff; width: 80%; margin: 0 auto; } #main { padding-bottom: 5em; /* must be same height as the footer */ } #header { height: 5em; text-align: center; } #footer { position: relative; margin-top: -5em; /* negative value of footer height */ height: 5em; clear:both; text-align: center; } /* CLEAR FIX*/ .clearfix:after {content: "."; display: block; height: 0; clear: both; visibility: hidden;} .clearfix {display: inline-block;} /* Hides from IE-mac \*/ * html .clearfix { height: 1%;} .clearfix {display: block;} /* End hide from IE-mac */
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
robinsp-robins_html_helpers-0.2.2 | rails_generators/robins_layout/templates/layout.css |