Judemoon Posted March 1, 2010 Share Posted March 1, 2010 Hello, I have purchased Atch_glam template and have successfully installed it.However, I have made small changes to the layout.All turned up well except for the 'footer'.I wanted the footer to span across the width of the page so I have set it as follow in global.css :/* Footer */#footer { background: #333333 url('../img/bg_footer.gif') repeat-x bottom; position:absolute; bottom:absolute left:0; width:100%; padding: 2px 0; height: 68px;clear: both;display: block;float:absolute;}It works, except that the footer does not stay at the bottom of page when the contents on the page gets shorter (see attached image).Anyone has solution for this?I have no programming knowledge. Link to comment Share on other sites More sharing options...
Judemoon Posted March 1, 2010 Author Share Posted March 1, 2010 This is code that I have edited in global.css/* Footer */#footer { background: #333333 url('../img/bg_footer.gif') repeat-x bottom; position:absolute; bottom:absolute; left:0; width:100%; padding: 2px 0; height: 68px;clear: both;display: block;} @media screen{ body>#footer{ position:fixed; }} 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