Uses
All pages should have a footer. Footers are great for utility navigational elements that are difficult to find on the page or do not fit anywhere else. There are certain elements of a site that users are expected to find in the footer. These include contact information, social media links, policies, utility navigation, and copyright information.
Styles
The School of Medicine is duo-tone. Light gray (#f1f1f1) is used as the background color of the first part of the footer. Dark gray (#333333) is used as the background color of the bottom part. Divider lines are used to separate content on the top half of the footer. Text and links behave as normal on the light gray background, however, on the dark gray, links should be light gray (#dedede) in all caps.
Examples
The above shows the footer on the School of Medicine site. Note that a thick, red divider line (10px) separate the content from the footer.
Code
HTML
CSS
#site-footer {
background-color: #f1f1f1;
font-size: 15px;
}
#site-footer-top {
margin: 0 10px;
padding-bottom: 12px;
border-bottom: 1px solid #bcbcbc;
}
#site-footer-top nav {
float: left;
padding: 24px 0 2px;
}
#site-footer a {
color: #A51417;
}
#site-footer a:hover {
color: #717171;
}
#site-footer-top nav a {
margin-right: 40px;
}
#site-footer-top nav li {
float: left;
}
#site-footer-bottom {
margin: 0 50px 0 10px;
padding: 30px 0;
}
#site-footer-bottom #col1 {
float: left;
width: 535px;
max-width: 660px;
line-height: 24px;
}
#site-footer-bottom #col1 p {
padding-bottom: 15px;
}
#site-footer #site-footer-bottom > div:only-child {
width: auto;
max-width: none;
}
#site-footer-bottom #lists {
float: right;
}
#site-footer-bottom #col2 {
float: left;
width: 154px;
border-left: 1px solid #bcbcbc;
padding: 0 10px 0 15px;
}
#site-footer-bottom #col2 strong {
margin-bottom: 10px;
display: block;
}
#site-footer-bottom #col2 li {
margin-bottom: 10px;
}
#wusm-footer {
color: #dedede;
background-color: #333;
padding-bottom: 23px;
}
#wusm-footer a {
color: #dedede;
}
#wusm-footer-left {
float: left;
margin-left: 10px;
padding-top: 20px;
}
#wusm-footer-left a {
display: inline-block;
}
#wusm-footer-left img {
display: block;
height: 100%;
}