Archive for the ‘Wordpress’ Category

Kubrick’s (Wordpress’ default theme) footer alignment error

Tuesday, April 11th, 2006

Sometimes, the footer’s alignment is off by 1px. This is due to a CSS wordaround for non-standard IE compatibility as such:

#footer {
padding: 0 0 0 1px;
margin: 0 auto;
width: 760px;
clear: both;
}

To fix it, just add below:

#page > #footer {
padding: 0;
}

This will be ignored by IE until they get their standards in order and hopefully by then there won’t be a need for the first workaround. So it’s pretty future proof.