After the container I want to place a footer. No matter what I try the footer is appearing at the top of the screen, overlapping the container.
Thoughts/suggestions?
Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!
#subnav { position: absolute; bottom: -600px; width: 70%; /* See note below */ text-align: center; padding: 0 15%; } * Stupid hack lets IE see 100%, others see 70%. */ #subnav { \width: 100%; w\idth: 70%; }
<div id="nav"> <ul> <li><a href="index.html">Home</a></li> <li><a href="history.html"> History</a></li> <li><a href="testimonials.html">Testimonials</a></li> <li><a href="list.html"> List of Services</a></li> <li><a href="gallery.html">Gallery</a></li> <li><a href="contact.html">Contact Me</a></li> </ul> </div>
#nav li { list-style: none; }
Your subnav is outside of the main content container if I remember correctly and will aways be at the bottom no matter how little or how much content you have on the page.
Ron
Edited by Major Payne, 17 January 2008 - 01:14 PM.
Edited by Major Payne, 17 January 2008 - 03:33 PM.
0 members, 0 guests, 0 anonymous users
Community Forum Software by IP.Board
Licensed to: Geeks to Go, Inc.