• Resolved nattrill

    (@nattrill)


    Hi. I have some IE8 problems which are clearly caused by some dodgy code modifications on my part. Website: http://www.stonehouselive.org.uk

    I recently noticed that my sidebar is not working properly with IE8. It works with IE7, Firefox, Chrome, and IE8 in compatibility mode. I could hope my visitors activate compatibility, but it annoys me, and I’d like to know what I’ve done wrong. Basically it looses all formatting about halfway down, but not the header parts, just the blue background and white text.

    I updated to wordpress 3, which didn’t fix it.

    I have a theme called Lalaland, which I modified to change the colours, header image, and the sidebar content. To this end I changed both style.css and sidebar.php. If I revert to the original css file it is still broken, but if I revert to the original sidebar.php file the formatting works perfectly (but not with what I wanted in the sidebar).

    So clearly I’ve done something wrong with the files I modified, but I can’t work out what.

    Please see the code:
    Style.css Modified: http://wordpress.pastebin.com/qaQrBapu
    Sidebar.php Original: http://wordpress.pastebin.com/BW9zJZi5
    Sidebar.php Modified: http://wordpress.pastebin.com/gc3CVHvp

Viewing 3 replies - 1 through 3 (of 3 total)
  • You’ve got a couple of validation errors that need sorting. And a fairly major CSS error that might cause IE8 to throw a hissy fit.

    Thread Starter nattrill

    (@nattrill)

    Ok, I managed to fix my original error by removing an unnecessary

    • in the php file. It is now working in IE8.

      But I re-checked the site with the w3 code validators and I still have most of the errors, unfortunately I have no idea how to fix them. Or where to even look for ‘line 172, Column 24’ or the rest.

      Any help to bring the errors down would be appreciated.

    Thread Starter nattrill

    (@nattrill)

    To be fair, I still get all those errors even with the unmodified theme. So I doubt I will be able to get rid of them unless I change the theme completely.

    Thanks anyway, I didn’t know about the validators.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Sidebar not working in IE8, php or css code problem’ is closed to new replies.