29 lines
565 B
CSS
29 lines
565 B
CSS
/* Sticky footer styles
|
|
-------------------------------------------------- */
|
|
|
|
html,
|
|
body {
|
|
height: 100%;
|
|
/* The html and body elements cannot have any padding or margin. */
|
|
}
|
|
|
|
/* Wrapper for page content to push down footer */
|
|
#wrap {
|
|
min-height: 100%;
|
|
height: auto;
|
|
/* Negative indent footer by its height */
|
|
margin: 0 auto -30px;
|
|
/* Pad bottom by footer height */
|
|
padding: 0 0 30px;
|
|
}
|
|
|
|
/* Set the fixed height of the footer here */
|
|
#footer {
|
|
height: 30px;
|
|
background-color: #f5f5f5;
|
|
}
|
|
|
|
#footer p {
|
|
line-height: 30px;
|
|
margin-bottom: 0px;
|
|
} |