Hi,
Here are the changes you need:
#wrap {
width: 1000px;
[B]margin:-408px auto 0;/* sticky footer control 148 + 220 + 40*/[/B]
min-height: 100%;
}
* html #wrap { height: 100% }
body:before {
content: "";
height: 100%;
float: left;
width: 0;
margin-top: -32767px; /*negate effect of float*/
}
#wrap:after {
clear: both;
display: block;
height: 1%;
content: " ";
}
#inner {
width: 1000px;
padding: 25px 0;
overflow: hidden;
margin: auto;
[B] border-top:408px solid transparent;/* sticky footer soak up 148 + 220 + 40*/[/B]
}
#footer-container {
width: 100%;
background-color: #44545F;
padding: 20px 0;
[B]margin:0;[/B]
position: relative;
height: 220px;
overflow: hidden;
}
And here it is in your code in a working example.
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>New TOC With Server Side Includes</title>
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<style type="text/css">
* {
margin: 0;
padding: 0;
}
html, body { height: 100%; }
img { vertical-align: bottom; }
a, a:active, #nav li a:active { outline: none; }
a:focus, #nav li a:focus, {
-moz-outline-style: none;
}
a img { border: 0; }
.clearfix:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
body {
background: #FFF url(http://www.tocdocs.com/new/i/gfx_bkg_blue.jpg) no-repeat top center;
padding: 0;
margin: 0;
}
#header-container {
width: 100%;
height: 148px;
background: transparent url(http://www.tocdocs.com/new/i/gfx_bkg_header.png) repeat-x top center;
position: relative;
z-index: 2; /*overflow: hidden;*/
clear: both;
}
#header {
width: 1000px;
margin: 0 auto;
position: relative;
padding: 0;
}
#logo {
background: url(http://www.tocdocs.com/new/i/gfx_sprite.png) no-repeat 0 -9px;
height: 88px;
width: 401px;
float: left;
text-indent: -9999px;
margin: 9px 0 0 0;
padding: 0;
height: 88px;
width: 401px;
display: block;
overflow: hidden;
}
#logo a {
display: block;
height: 88px;
}
#nav {
background: url(http://www.tocdocs.com/new/i/gfx_sprite.png) no-repeat 0 -97px;
width: 100%;
height: 51px;
list-style: none;
position: absolute;
top: 97px;
left: 0px;
margin: 0;
padding: 0 0 0 17px;
text-indent: -9999px;
overflow: visible;
z-index: 99;
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
}
#nav li {
float: left;
position: relative;
}
#nav li a {
text-indent: -9999px;
display: block;
height: 51px;
line-height: 51px;
text-decoration: none;
}
#nav li:hover { visibility: visible; }
#nav li ul {
position: absolute;
top: 100%;
left: 0;
margin-left: -999em;
padding: 0;
border-right: 1px solid #F47A1F;
border-left: 1px solid #F47A1F;
border-bottom: 1px solid #F47A1F;
}
#nav li:hover ul {
margin-left: 0;
cursor: pointer;
}
#nav li li {
float: none;
display: block;
font-family: Arial, Helvetica, sans-serif;
}
#nav li li a {
background: #FFF !important;
height: auto !important;
padding: 0 8px;
color: #647179;
text-indent: 0;
margin: 0;
cursor: pointer;
border-top: 1px #F47A1F solid;
width: 230px !important;
line-height: 32px;
font-size: 12px;
}
#nav li li a:hover {
background: #647179 !important;
color: #FFF;
text-decoration: none;
cursor: pointer;
width: 230px !important;
text-indent: 0;
margin: 0;
}
#nav ul li { position: relative; }
#nav ul ul { top: 0; }
#nav li ul ul {
left: 246px;
margin: 0 0 0 10px;
}
#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li:hover ul ul ul ul { display: none; }
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li li li li:hover ul { display:block; }
#nav li.doctors a {
background: url(http://www.tocdocs.com/new/i/gfx_sprite.png) no-repeat 17px 97px;
width: 100px;
}
#nav li.specialties a {
background: url(http://www.tocdocs.com/new/i/gfx_sprite.png) no-repeat 17px 97px;
width: 109px;
}
#nav li.patient-info a {
background: url(http://www.tocdocs.com/new/i/gfx_sprite.png) no-repeat 17px 97px;
width: 121px;
}
#nav li.services a {
background: url(http://www.tocdocs.com/new/i/gfx_sprite.png) no-repeat 17px 97px;
width: 92px;
}
#nav li.locations a {
background: url(http://www.tocdocs.com/new/i/gfx_sprite.png) no-repeat 17px 97px;
width: 105px;
}
#nav li.quick-care-after-hours a {
background: url(http://www.tocdocs.com/new/i/gfx_sprite.png) no-repeat 17px 97px;
width: 221px;
}
#nav li.media-room a {
background: url(http://www.tocdocs.com/new/i/gfx_sprite.png) no-repeat 17px 97px;
width: 118px;
}
#nav li.contact a {
background: url(http://www.tocdocs.com/new/i/gfx_sprite.png) no-repeat 17px 97px;
width: 101px;
}
#nav li.doctors a:hover { background-position: -17px -245px; }
#nav li.specialties a:hover {
background-position: -118px -245px;
width: 108px;
margin: 0 0 0 1px;
}
#nav li.patient-info a:hover {
background-position: -227px -245px;
width: 120px;
margin: 0 0 0 1px;
}
#nav li.services a:hover {
background-position: -348px -245px;
width: 91px;
margin: 0 0 0 1px;
}
#nav li.locations a:hover {
background-position: -440px -245px;
width: 104px;
margin: 0 0 0 1px;
}
#nav li.quick-care-after-hours a:hover {
background-position: -545px -245px;
width: 220px;
margin: 0 0 0 1px;
}
#nav li.media-room a:hover {
background-position: -766px -245px;
width: 117px;
margin: 0 0 0 1px;
}
#nav li.contact a:hover {
background-position: -884px -245px;
width: 100px;
margin: 0 0 0 1px;
}
.portal {
width: 137px;
height: 47px;
display: block;
position: absolute;
top: 26px;
right: 264px;
background: url(http://www.tocdocs.com/new/i/gfx_sprite.png) no-repeat -599px -26px;
text-indent: -9999px;
}
.portal:hover { background-position: -599px -174px; }
.appointment {
width: 224px;
height: 47px;
display: block;
position: absolute;
top: 26px;
right: 31px;
background: url(http://www.tocdocs.com/new/i/gfx_sprite.png) no-repeat -745px -26px;
text-indent: -9999px;
}
.appointment:hover { background-position: -745px -174px; }
#nav .services ul .multi span { padding: 0 0 0 150px; }
.arrow-right {
content: "";
width: 0;
height: 0;
border-top: 30px solid transparent;
border-bottom: 30px solid transparent;
border-left: 30px solid #F47A1F;
}
#wrap {
width: 1000px;
margin:-408px auto 0;/* sticky footer control 148 + 220 + 40*/
min-height: 100%;
}
* html #wrap { height: 100% }
body:before {
content: "";
height: 100%;
float: left;
width: 0;
margin-top: -32767px; /*negate effect of float*/
}
#wrap:after {
clear: both;
display: block;
height: 1%;
content: "";
}
#inner {
width: 1000px;
padding: 25px 0;
overflow: hidden;
margin: auto;
border-top:408px solid transparent;/* sticky footer soak up 148 + 220 + 40*/
}
#slider {
width: 609px;
float: left;
padding: 0px 0px 0px 36px;
background: transparent url(http://www.tocdocs.com/new/i/gfx_bkg_slider.png) no-repeat 0 0;
margin: 0 31px 0 0;
}
.three-column, .one-column {
padding: 0 0 0 36px;
overflow: hidden;
width: 100%
}
#promo-left, #promo-mid, #promo-right {
float: left;
width: 290px;
margin-right: 33px;
font: 13px/18px Helvetica, Arial, sans-serif;
}
#promo-left a, #promo-mid a, #promo-right a {
color: #000;
text-decoration: underline;
font: italic 13px/18px Georgia, "Times New Roman", Times, serif;
}
#content {
width: 609px;
background-color: #FFF;
padding: 12px;
margin: 0 38px 0 0;
float: left;
font: normal 14px/18px Helvetica, Arial, sans-serif;
}
#events {
width: 286px;
padding: 5px 12px 12px 12px;
float: left;
font: normal 14px/18px Helvetica, Arial, sans-serif;
margin: 0 14px 0 0;
}
#sidebar {
width: 286px;
padding: 0px 12px 12px 12px;
float: left;
font: normal 14px/18px Helvetica, Arial, sans-serif;
}
#footer-container {
width: 100%;
background-color: #44545F;
padding: 20px 0;
margin:0;
position: relative; /*bottom: 0;*/
height: 220px;
overflow: hidden;
}
#footer {
margin: 18px auto;
width: 1000px;
color: #FFF;
font: 12px/18px Helvetica, Arial, sans-serif;
overflow: hidden;
}
#recent-news {
width: 230px;
margin: 0 96px 0 0;
float: left;
}
#what-hurts {
width: 176px;
margin: 0 136px 0 62px;
float: left;
}
#get-social {
width: 230px;
margin: 0 0 0 0;
float: left;
}
#what-hurts ul, #recent-news ul, #get-social ul { list-style: none; }
#what-hurts a, #recent-news a, #get-social a { color: #FFF; }
#what-hurts ul li a, #get-social ul li a { text-decoration: underline; }
#what-hurts ul li a:hover, #get-social ul li a:hover { text-decoration: none; }
#recent-news p { padding: 0 0 15px 0; }
#get-social a { padding: 0 0 0 30px; }
#get-social li { margin: 10px 0; }
.facebook {
background: transparent url(http://www.tocdocs.com/new/i/gfx_icons.gif) no-repeat 0 0;
height: 20px;
}
.twitter {
background: transparent url(http://www.tocdocs.com/new/i/gfx_icons.gif) no-repeat 0 -28px;
height: 20px;
}
.youtube {
background: transparent url(http://www.tocdocs.com/new/i/gfx_icons.gif) no-repeat 0 -56px;
height: 20px;
}
.subscribe {
background: transparent url(http://www.tocdocs.com/new/i/gfx_icons.gif) no-repeat 0 -83px;
height: 20px;
}
.sitemap {
background: transparent url(http://www.tocdocs.com/new/i/gfx_icons.gif) no-repeat 0 -113px;
height: 20px;
}
#footer h2 {
text-indent: -9999px;
height: 23px;
}
#what-hurts h2 { background: transparent url(http://www.tocdocs.com/new/i/gfx_h2_what_hurts.gif) no-repeat 0 0; }
#recent-news h2 { background: transparent url(http://www.tocdocs.com/new/i/gfx_h2_recent_news.gif) no-repeat 0 0; }
#get-social h2 { background: transparent url(http://www.tocdocs.com/new/i/gfx_h2_get_social.gif) no-repeat 0 0; }
#what-hurts h2, #recent-news h2 { margin: 0 0 10px 0; }
h3 {
width: 100%;
text-indent: -9999px;
width: 285px;
height: 159px;
margin: 0 0 18px 0;
}
h3.media-room { background: url(http://www.tocdocs.com/new/i/gfx_inset_media_room.jpg) no-repeat 0 0; }
h3.community { background: url(http://www.tocdocs.com/new/i/gfx_inset_community.jpg) no-repeat 0 0; }
h3.threat { background: url(http://www.tocdocs.com/new/i/gfx_inset_threat.jpg) no-repeat 0 0; }
.event {
box-shadow: 0 0 0 2px #FFF, 0 0 0 5px #0098D7;
margin: 0 11px 25px 0;
}
</style>
</head>
<body>
<div id="header-container">
<div id="header">
<h1 id="logo"><a href="#">Tennessee Orthopaedic Clinics - The Power of Results.</a></h1>
<ul id="nav">
<li class="doctors"><a href="#">Doctors</a>
<ul>
<li><a href="#">Listed Alphabetically</a></li>
<li><a href="#">Listed by Location</a></li>
<li><a href="#">Listed by Specialty</a></li>
<li><a href="#">Physician Assistants <span></span></a></li>
</ul>
</li>
<li class="specialties"><a href="#">Specialties</a>
<ul>
<li><a href="#">Elbow</a></li>
<li><a href="#">Hand and Wrist</a></li>
<li><a href="#">Knee</a></li>
<li><a href="#">Spine</a></li>
<li><a href="#">Sports Medicine</a></li>
<li><a href="#">Foot and Ankle</a></li>
<li><a href="#">Hip</a></li>
<li><a href="#">Shoulder</a></li>
<li><a href="#">Total Joint Replacement</a></li>
<li><a href="#">Podiatry</a></li>
</ul>
</li>
<li class="patient-info"><a href="#">Patient Information</a>
<ul>
<li><a href="#">Introduction</a></li>
<li><a href="#">Patient Portal</a></li>
<li><a href="#">First Visit</a></li>
<li><a href="#">Appointments</a></li>
<li><a href="#">Insurance</a></li>
<li><a href="#">Forms</a></li>
<li><a href="#">Patient Education</a></li>
</ul>
</li>
<li class="services"><a href="#">Services</a>
<ul>
<li><a href="#">MRI</a></li>
<li><a href="#">Saturday Morning Clinics</a></li>
<li><a href="#">Sports Medicine</a></li>
<li><a href="#">Surgery Center</a></li>
<li class="multi"><a href="#">Therapy <span>▶</span></a>
<ul>
<li><a href="#">Hand</a></li>
<li><a href="#">Physical</a></li>
<!--<li><a href="#">Occupational</a></li>-->
</ul>
</li>
<li><a href="#">TOC Spine</a></li>
<li><a href="#">Work Comp (Work Link)</a></li>
</ul>
</li>
<li class="locations"><a href="#">Locations</a>
<ul>
<li><a href="#">TOC at Fort Sanders Regional<!-- in the Center for Advanced Medicine--></a></li>
<li><a href="#">The Tower at Parkwest</a></li>
<li><a href="#">Oak Ridge Physicians Plaza</a></li>
<li><a href="#">Lenoir City</a></li>
<li><a href="#">Seymour</a></li>
<li><a href="#">TOC Spine</a></li>
<li><a href="#">Podiatry Parkwest</a></li>
<li><a href="#">Podiatry Oak Ridge</a></li>
<li><a href="#">Dr. Randall R. Robbins Location</a></li>
<li><a href="#">Central Business Office</a></li>
</ul>
</li>
<li class="quick-care-after-hours"><a href="#">Quick Care After Hours</a></li>
<li class="media-room"><a href="#">Media Room</a></li>
<li class="contact"><a href="#">Contact</a>
<ul>
<li><a href="#">TOC Careers</a></li>
<li><a href="#">Administration</a></li>
<li><a href="#">Sitemap</a></li>
</ul>
</li>
</ul>
<a href="http://www.tocdocs.com/patient-portal.html" class="portal">Patient Portal</a> <a href="https://www.tocdocs.com/appointments/" class="appointment">Schedule an Appointment</a> </div>
</div>
<div id="wrap">
<div id="inner">
<div id="slider"> <img src="http://www.tocdocs.com/new/i/gfx_slider.jpg" width="609" height="265" alt=""> </div>
<div id="events"> <a href="#"><img src="http://www.tocdocs.com/new/i/gfx_education_032013.jpg" width="130" height="255" alt="" class="event"></a> <a href="#"><img src="http://www.tocdocs.com/new/i/gfx_event_032013.jpg" width="130" height="255" alt="" class="event"></a> </div>
<!--
<div class="three-column">
<div id="promo-left">
<h3 class="media-room"><a href="#">Media Room</a></h3>
<p>Stay up to date with the latest news releases, upcoming events, latest videos, and patient success stories. Discover more about how our best practices are helping patients thrive in everday life. <a href="#">» Learn More</a></p>
</div>
<div id="promo-mid">
<h3 class="community"><a href="#">Community</a></h3>
<p>Buddy's Race Against Cancer 5K raises funds for Thompson Cancer Survival Center's Cancer Outreach Services. TOC associates have volunteered to run and raised over $2,000. <a href="#">» Learn More</a></p>
</div>
<div id="promo-right">
<h3 class="threat"><a href="#">Threat to Health Care</a></h3>
<p>The Government Wants To Ban Advanced Diagnostics and Physical Therapy Services For All Medicare Patients and Military Personnel at Physician-Owned Medical Practices! <a href="#">» Learn More</a></p>
</div>
</div>
<div class="one-column">
</div>
-->
</div>
</div>
<div id="footer-container">
<div id="footer">
<div id="what-hurts">
<h2>What Hurts?</h2>
<ul>
<li><a href="#">Elbow</a></li>
<li><a href="#">Foot and Ankle</a></li>
<li><a href="#">Hand and Wrist</a></li>
<li><a href="#">Hip</a></li>
<li><a href="#">Knee</a></li>
<li><a href="#">Shoulder</a></li>
<li><a href="#">Spine</a></li>
<li><a href="#">Total Joint Replacement</a></li>
<li><a href="#">Sports Medicine</a></li>
<li><a href="#">Podiatry</a></li>
</ul>
</div>
<div id="recent-news">
<h2>Recent News</h2>
<p>Immediate Threat To The Health Care of Medicare/Medicaid Patients and Military Personnel!</p>
<p>TOC Celebrates a 40 Year Milestone!</p>
<p>Hip patient impressed with care at Fort Sanders Joint Center.</p>
</div>
<div id="get-social">
<h2>Get Social With TOC</h2>
<ul>
<li class="facebook"><a href="#">Like us on Facebook</a></li>
<li class="twitter"><a href="#">Follow us on Twitter</a></li>
<li class="youtube"><a href="#">Browse on YouTube Channel</a></li>
<li class="subscribe"><a href="#">Subscribe to our E-Newsletter</a></li>
<li class="sitemap"><a href="#">Sitemap</a></li>
</ul>
</div>
</div>
</div>
</body>
</html>