• I’ve got the 2.0 beta installed and I have only found one problem – so far – is that the footer in the default theme is squint, ie not aligned properly with the rest of the page

Viewing 9 replies - 16 through 24 (of 24 total)
  • Well, just for my own enjoyment, I went ahead and installed the newest FireFox and I do not get this problem with FireFox 1.07, I only seem to get it with IE 6. So I got that going for me.

    Thread Starter mr_cynical

    (@mr_cynical)

    That is significant – if you are getting it in IE then it is a WordPress problem and not a Firefox one.

    Moderator James Huff

    (@macmanx)

    No, I think that Jasoomian’s problem is a separate issue. Otherwise, Mr. Cynical, you would see your problem in IE. But, Jasoomian sees his problem in IE, not in Firefox. And, you see your problem in Firefox, not in IE.

    Jasoomian, in order to avoid confusion, I recommend that you open a new thread for your issue.

    Thread Starter mr_cynical

    (@mr_cynical)

    I couldn’t find the issue Jasoomian was talking about in my IE, but his site is in fact affected by the Firefox bug we’ve been discussing.

    EDIT: This is a WORDPRESS BUG (in the Kubrick theme). Here’s the extract from the CSS that is causing the problem:
    #footer {
    padding: 0 0 0 1px;
    margin: 0 auto;
    width: 760px;
    clear: both;
    }

    That ‘1px’ is what is causing the shift – and Firefox shifting the footer is actually correct behaviour. The reason it doesn’t occur in IE is because IE doesn’t fully conform to the CSS standard (as we all know) and just ignores the shift.

    Setting the padding to 1px is a workaround for a bug in IE. Fox 1.0.x copes with that workaround. Fox 1.5 doesn’t.

    If you set the padding to 0, the theme will look fine in Fox but have a similar pixel shift issue in IE.

    You can find more detail (including a workaround) in this thread
    https://www.ads-software.com/support/topic/35741

    Thread Starter mr_cynical

    (@mr_cynical)

    It isn’t a matter of Firefox ‘coping’ – Firefox complies with the CSS specification, so Firefox is in the right. It’s a bug because the code does not display a proper footer when interpreted according to the W3C standard.

    It’s squarely an IE problem. I think Microsoft will be a thousand-year appendix to the history of computing, but it’s like the choam corporation or something. I think the real future is opensourced, and DVORAK keyboarded. That aside.. while we’re talking hacks, here’s a doozie (that I’m actually using!)

    #footer {
    position: expression(“relative”);
    left:expression(“1px”);
    }

    this way IE evaluates these expressions.. but the rest of the browsers (and someone please correct me!) just ignore it.

    THe remaining prevailing opinion is to use code that is instead invisible to internet explorer:

    thus:

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

    as indicated. here: here

    I do believe this may be the futureproof.. in the event that expressions will be incorporated into css sometime in the future. but the pendulum could swing both ways I feel at times.. if ie adopts firefox’ features or firefox ie’s. or maybe not. who really remembers any more. so which is better.. is this problem reducible to css expressions yay or nay?

    What is the consensus here? But then again we may argue for javascript to lay browser-specific css or no?

    If I liken microsoft to the choam commpany it is only as a pleasantly romantic notion.

    Thanks to Jeremy Visser for making up a .diff with my supplied fixes for that issue. =) I attached the .diff to ticket #1941 in the trac.

    https://trac.www.ads-software.com/ticket/1941
    https://trac.www.ads-software.com/attachment/ticket/1941/fixedkubrickfix.diff

    Demo of the “fixes” in action on a Plain Jane Default 1.5 theme, here at my Demo blog.

    https://www.vindictivebastard.net/kubrickfixed/

    If someone could modify the files, that would be awesome! =) Hopefully this gets added in before 2.0.4 is released. ??

    Also, I have the “Fixes” for that same header/footer shift for while viewing it in IE7, so when that get’s officially released, Jeremy can just make up another .diff then, containing those fixes for IE7.

    spencerp

Viewing 9 replies - 16 through 24 (of 24 total)
  • The topic ‘Kubrick error’ is closed to new replies.