I can’t seem to center the text within the footer all of a suddern. Have i missed something? I haven't had this problem before.
<div id="footer">
<div id="footer-links">
<li class="sub-li"><a href="#">Home</a></li>
<li class="sub-li"><a href="#">Image Gallery</a></li>
<li class="sub-li"><a href="#">Artist Bios</a></li>
<li class="sub-li"><a href="#">Interviews</a></li>
<li class="sub-li"><a href="#">Contact Us</a></li>
</div> <!------footer links------>
<div class="center-text">
<p class="p-small">For all enquiries, bookings, current DJ mix tapes / cds or current artists promotional material.</p>
<p class="p-small">Please contact SA Management. Telephone: </p>
</div>
</div> <!------footer------>
<div id="footer-links">
<li class="sub-li"><a href="#">Home</a></li>
<li class="sub-li"><a href="#">Image Gallery</a></li>
<li class="sub-li"><a href="#">Artist Bios</a></li>
<li class="sub-li"><a href="#">Interviews</a></li>
<li class="sub-li"><a href="#">Contact Us</a></li>
</div> <!------footer links------>
<div class="center-text">
<p class="p-small">For all enquiries, bookings, current DJ mix tapes / cds or current artists promotional material.</p>
<p class="p-small">Please contact SA Management. Telephone: </p>
</div>
</div> <!------footer------>
#footer {
width: 800px;
height: 91px;
float: left;
text-align:center;
margin-left: 5px;
clear: both;
background-color:#00CCFF;
background-image: url(../images/slices/footer.jpg);
}
#footer-links {
width: 800px;
height: 34px;
float: left;
margin-left: 0px;
clear: both;
text-align:center;
background-color:#CCCC00;
background-image: url(../images/slices/sub-footer.jpg);
}
.center-text {
width: 100%;
height: auto;
text-align:center;
}
width: 800px;
height: 91px;
float: left;
text-align:center;
margin-left: 5px;
clear: both;
background-color:#00CCFF;
background-image: url(../images/slices/footer.jpg);
}
#footer-links {
width: 800px;
height: 34px;
float: left;
margin-left: 0px;
clear: both;
text-align:center;
background-color:#CCCC00;
background-image: url(../images/slices/sub-footer.jpg);
}
.center-text {
width: 100%;
height: auto;
text-align:center;
}


Thanks guys.
...

Comment