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

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.

6 Responses to “Kubrick’s (Wordpress’ default theme) footer alignment error”

  1. Josh Kaufman says:

    Wow thank you for this. I was starting to go insane with that 1px!

  2. Dell says:

    Thanks a lot for this intuitive work around

  3. Mark says:

    I still can’t understand :( where do you place it. I tried pasting the fix after “clear both }” My kubrick is dated way back, perhaps it is different than yours.

  4. Marko says:

    total legend.

  5. Aaron Rivera says:

    awesome tuts lol :0

  6. Certainly got us thinking here are work, expect a few replies later.

Leave a Reply