m (fix footer to bottom test) |
|||
Line 67: | Line 67: | ||
#main { | #main { | ||
− | + | overflow: auto; | |
+ | padding-bottom: 150px; | ||
} | } | ||
Line 74: | Line 75: | ||
section#footer { | section#footer { | ||
position: relative; | position: relative; | ||
− | margin-top: - | + | margin-top: -150px; /* negative value of footer height */ |
clear: both; | clear: both; | ||
− | |||
− | |||
background: #222222; | background: #222222; | ||
+ | padding: 50px; | ||
} | } | ||
Revision as of 12:36, 29 May 2017