Forums

IE6.0 displays sidebar at bottom (17 posts)

  1. walkinman
    Member
    Posted 3 weeks ago #

    hey Folks,

    Trying to clean up some code, and I see that IE6.0 displays the sidebar at the bottom of the page, rather than the side. It works and looks fine in ie7.0, 8.0, Firefox and Safari.

    I understand how a div tag might be outside the sidebar code, but don't understand how to fix that if it looks fine in other browsers.

    Thank you.

    Cheers

    Carl

  2. songdogtech
    Member
    Posted 3 weeks ago #

    You must have deleted a closing tag. Post your your site URL so people can look at it or use the code validator at The W3C Markup Validation Service to find your code errors.

  3. walkinman
    Member
    Posted 3 weeks ago #

    Hey Songdogtech,

    Whoops, my mistake, sorry.

    The url is http://www.skolaiimages.com/journal.

    I'm cautiously going thru the validator, trying to find the error -it's hidden among many, I'm afraid, mostly from plugins and things I loaded in the sidebar. Unfortunately, it's a slow process - one step at time, I thought I'd try to find this one first.

    Should I post the code to singlepost.php here?

    Thank you.

    Cheers

    Carl

  4. songdogtech
    Member
    Posted 3 weeks ago #

    Get a fresh copy of single.php for your theme and compare to that. Disable plugins and see if that fixes the problem.

  5. walkinman
    Member
    Posted 3 weeks ago #

    Hey songdogtech,

    OK - do I have to download an entire WP folder, or is there somewhere I can just download that particular file?

    Thanks again.

    Cheers

    Carl

  6. walkinman
    Member
    Posted 3 weeks ago #

    Hey songdogtech,

    Nevermind - I just downloaded the whole thing, I'm sure I'll need it.

    Thanks again.

    Cheers

    Carl

  7. songdogtech
    Member
    Posted 3 weeks ago #

    You're editing your theme, not Wordpress as a whole. You're only editing your theme that sits in wp-content/themes/nameoftheme; don't edit anything else in the wordpress directory or you'll have even more problems.

  8. walkinman
    Member
    Posted 3 weeks ago #

    Hey songdogtech,

    OK - I replaced the file I was using with the one I downloaded from wp .. and the entire sidebar disappeared.

    I tried adding in what I thought was a missing <div> tag, and the sidebar went haywire (it looks fine in Firefox, as I said before, but with another <div> tag in there it went all askew.

    Still lost here.

    Thanks.

    Cheers

    Carl

  9. walkinman
    Member
    Posted 3 weeks ago #

    ps - oh, yes, I just saw your last post - yes, I'm only editing the singlepost.php file .. .. but I downloaded the whole wp folder and will keep it as reference/backup for next time I completely mess things up. :)

  10. songdogtech
    Member
    Posted 3 weeks ago #

    Don't simply replace the existing singlepage.php with the new singlepage.php. Open both of them side by side in a text editor and compare the files to see where your missing tags are.

  11. walkinman
    Member
    Posted 3 weeks ago #

    Hey songdogtech

    I'm sorry, I kinda missed a few steps in telling you what I did. Yes, I checked them over in text Edit, and the only div tag I could see that looked like it was missing, to me, was one before the 'endwhile else' code .... I put one in, and the page went askew in all browsers. The sidebar moved over closer to the left, and was all haywire. I'm wondering if something is wrong in the style sheet, like a column is not wide enough or something.

    It didn't seem to matter where I put the tag, the same thing happens. Teh sidebar moves left, and the text for the sidebar doesn't start until down below the rest of main page.

    Cheers

    Carl

  12. songdogtech
    Member
    Posted 3 weeks ago #

    Get the site back to working in everything except IE6, and then rename the unedited copy of the default WP theme you downloaded earlier and check that in IE6. If it looks OK in IE6, then go back through your validation report and fix other missing tags, like the <ul>'s and <li>'s in your edited theme. Do things one step at a time and eliminate problems one by one. Disable plugins and widgets, too, to see if it's one of those that is messing up IE6.

  13. walkinman
    Member
    Posted 3 weeks ago #

    Hey songdogtech,

    OK, i'll try that, thanks. It's OK so far in the other browsers I've checked, and when I tried a temporary replacement with the default WP theme file, it deletes the sidebar altogether, in all browsers. I'm suspecting the problem is not in the singlepost file, does that sound correct? More likely in the style sheet perhaps (column widths) or the sidebar maybe?

    Thanks again.

    Cheers

    Carl

  14. songdogtech
    Member
    Posted 3 weeks ago #

    From an hour ago:

    ....then go back through your validation report and fix other missing tags, like the <ul>'s and <li>'s in your edited theme. Do things one step at a time and eliminate problems one by one. Disable plugins and widgets, too, to see if it's one of those that is messing up IE6.

  15. walkinman
    Member
    Posted 3 weeks ago #

    Hey songdogtech,

    I'll give it a whirl - if you knew how ignorant I am about this stuff, you'd die laughing.

    Thank you.

    Cheers

    Carl

  16. walkinman
    Member
    Posted 3 weeks ago #

    Hey songdogtech

    I actually tried replacing the sidebar with the default sidebar file from WP, and it still doesn't display correctly in IE6.0.

    Do you think it could be a width or something incorrect in the style sheet?

    Thanks.

    Cheers

    Carl

  17. songdogtech
    Member
    Posted 3 weeks ago #

    We all have to learn somehow; I didn't know anything when I got started in IT stuff years ago.

    Time to get out the big guns. I think you're going to need to go with an IE6 specific style sheet, so see how to do that here: quirm.net: WordPress and Conditional Comment CSS.

    Now, look in these threads and find some things that work for IE6. These changes only go in your IE6 style sheet. This thread IE 6.0 Sidebar bumps down below talks about changing widths from 100%, which IE6 doesn't always like. This thread is more complicated and talks about floats about halway down the page: Custom theme broken in IE.

    Try those, and be sure you have a native IE6 install to text. The thing about an IE6 style sheet is you only need what's different between the two stye sheets in it to work; you don't need a complete copy of the modifed style sheet. And you load the IE6 sheet after the main style sheet, so you have to add it to header.php.

Reply

You must log in to post.

About this Topic