FaNo Posted January 24, 2007 Share Posted January 24, 2007 Hello all, i trust you CSS guru's can give me a hand with this :)I have a footer on my website, and when i write text in the body and it overflows the footer, i mean, when the text is so long that it reaches the footer, i want it to move along with the text, but instead it stays there shadowing the text.here's how im doing it:this is the html for my footer:======================<div id="footer"> <div align="center"> [ © Copyright 2006 <a href="http://FanoRecordings.com">FanoRecordings</a> | Web basada en <a href="http://www.solucija.com">Solucija.com</a> ] </div> </div>======================and here is the css:======================#footer { clear: both; color: #808080; background: #FFF; font-size: 0.8em; text-align: right; border: 1px solid #ccc; list-style-position: outside; margin-top: 10px; margin-right: 5px; margin-bottom: 10px; margin-left: 5px; padding-top: 9px; padding-right: 10px; padding-bottom: 9px; padding-left: 0; position: relative; }#footer a { text-decoration: underline; color: #3A6794;}#footer a:hover { color: #000;}======================Thank you!!! Link to comment Share on other sites More sharing options...
Maggy Posted January 24, 2007 Share Posted January 24, 2007 Hello,i've tested your piece of code in DreamweaverMX and it works fine..check the code placed before footer, you may have forgotten to close some tabs or something like that.If it's all good and still doesn't work let me know.Good luck! Link to comment Share on other sites More sharing options...
real_illusions Posted January 24, 2007 Share Posted January 24, 2007 or you've specified a height for a div thats above the footer. Link to comment Share on other sites More sharing options...
FaNo Posted January 24, 2007 Author Share Posted January 24, 2007 ohh yes that was it..... I had specified a certain height for the div that came before the footer..... so now i changed it to height: auto; and it's all fine.... thank you all! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now