Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

IE & CSS troubles (IE hates me, I hate IE)

edited May 2007 in Vanilla 1.0 Help
Okay, so I'm working on a style, a version of phpBB's subSilver for Vanilla (yeah, yeah, heresy). I've just started playing around with it, and already I have a problem with IE, both versions 6 and 7 display the same behaviour. I have a border, which IE shows just fine, until you switch to another window that covers the browser window and then tab back, or if I scroll around on the page. Here are some screeshots: when it has loaded, when I've tabbed away and back and when I've scrolled down and back up. Please ignore the text positioning, I'm sure that won't be hard to fix, it's the dissapearing stuff that worries me.

I know there was a bug in IE6 where content could dissapear and come back, but that's supposed to be fixed in IE7, and here stuff only dissapears, and doesn't come back. I don't have a clue what is causing this, so any guesses are welcome, and if anyone wants to see the css, I've zipped it up the style I have so far, you can download it here.

Comments

  • Options
    I downloaded it and it looks really nice. The problem seems to be with the Content div. The left margin at 200px makes it look fine in FF, but not IE. I adjusted it to 10px and it looks fine in IE, but not in FF. I don't have a solution, sorry.
  • Options
    lechlech Chicagoland
    It could just be a browser render bug, but check your paddings, borders and margins as those are all likely culprits. Once you have a clean padding/margin that bug should disappear.
  • Options

    I downloaded it and it looks really nice. The problem seems to be with the Content div. The left margin at 200px makes it look fine in FF, but not IE. I adjusted it to 10px and it looks fine in IE, but not in FF. I don't have a solution, sorry.
    Sounds like it's time for an additional style sheet, targeted for IE with one of their conditional comments.

    Just make sure it's loaded after the main style sheet.
  • Options
    Nah, then I'd have to make a theme change as well. Conditional comments only work in HTML, not CSS, as far as I know. I'm sure I can figure something out.
  • Options
    Yeah, I know. Just noting that was possibly an option.
  • Options
    Ah, thanks for the suggestion. :)
This discussion has been closed.