Need help? Check out our Support site, then


"position: fixed" for "scrolling" side menu works OK in FF but not in IE

  1. Hi,

    I'm customizing the Sapphire theme. I've put in a graphic menu pad at the right-hand side, and would like it to scroll down the page as the page scrolls.

    The code below works fine with FireFox and Chrome, but the menu pad is no where to be seen in IE7 (I'm not even bothering to sweat about making it work with IE5 and IE6):

    #sidebar {
    position:fixed;
    margin-left:533px;
    margin-top:10px;
    margin-bottom:10px;
    font:1.2em Verdana, Arial, Sans-Serif;
    color:#000;
    padding:0;
    }

    Would anyone have the solution by any chance? Thanks in advance if so :)

  2. a link to your blog would be helpful

  3. It's in his username ;) (And yes, it is a wp.com blog)

  4. Hmmm... I thought it wasn't there before, that's why I asked...

    "position: fixed" doesn't work on IE6, and supposedly IE7 should support it but it doesn't... it's still buggy.

  5. We don't get access to WordPress' HTML/PHP files on wordpress.com, or it would be easy to use a conditional comment to use a different style sheet for IE (or each of its different versions).

    But is there a way to hack the CSS to do the same thing?

    "position: fixed" doesn't work on IE6, and supposedly IE7 should support it but it doesn't... it's still buggy.

    If I recall correctly, IE7 supports "position: fixed" in its "quirks mode", but how can I kick IE into quirks mode when it parses my CSS?

    Thanks in advance for any ideas/suggestions. :)

  6. This is just a suggestion, but I stay away from things that would require visitors to modify browser settings, such as changing to "quirks mode" in order to properly view my blog.

  7. This is just a suggestion, but I stay away from things that would require visitors to modify browser settings, such as changing to "quirks mode" in order to properly view my blog.

    Well, I was hoping to find a solution involving conditional code inside my style sheet.

    I'll keep thinking, and will post the answer here if I find one.

    In any case, thanks to you guys for your responses, and if anyone else has some input then I'd be grateful. :)

Topic Closed

This topic has been closed to new replies.

About this Topic