Welcome to WebmasterWorld Guest from 54.234.38.8

Forum Moderators: not2easy

Message Too Old, No Replies

footer will not stay centered

     
4:38 am on Oct 29, 2009 (gmt 0)

New User

5+ Year Member

joined:June 30, 2008
posts: 10
votes: 0


I have a webpage that the footer will not stay centered if you zoom on the webpage.

I have a webpage that is 1008 pixels wide.

The header is 1008 pixels wide.

The footer is 790 pixels wide.


#footer {
display: block;
margin-right: auto;
margin-left: auto;
width: 790px;
height: 50px;
background: url(http://example.com/pictures/footer.png) no-repeat;
}

There is no problem on a webpage where the footer is the same size as the webpage.

[edited by: swa66 at 1:12 pm (utc) on Oct. 29, 2009]
[edit reason] No URLs, please ee ToS and Forum Charter [/edit]

5:46 am on Oct 29, 2009 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:June 29, 2003
posts: 1676
votes: 0


The personal link in the CSS will be removed.

IE has known zoom issues related to centered content. Until someone comes along with the hack that you need, search - ie zoom centering - You will find references to zoom hacks, hasLayout, needed conditional comments.....

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members