Not signed in (Sign In)

SkillShare - A place to discuss Web Standards and Web Design topics

Categories

Vanilla 1.1.9 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorshanx24
    • CommentTimeMay 12th 2007
     permalink
    Hi, my site has been working with all browsers before IE7.

    It's only with IE7 that the centered layout breaks-
    http://sniptools.com/musings/conan-calls-a-spade-a-spade

    I've tried some negative margins and such as kludgish workarounds but it doesn't seem to work.

    Any thoughts from CSS gurus out here as to what may be breaking the content section? The whole thing works fine in Firefox and Opera!
    •  
      CommentAuthorthe.x.man
    • CommentTimeMay 12th 2007 edited
     permalink
    Um... The easiest solution I can think of is this:

    At the moment, everything on that page is within the "wrap" div. If you put everything into another div (id="container", just for for example), but which is still within #wrap,

    <div id="wrap">
    <div id="container">

    header, + rest of the site contents, etc.

    </div><!-- end of container -->
    </div><!-- end of wrap -->

    and add it to your css like this-

    #container {
    position: relative;
    top: 0;
    left: 0;
    width: 818px;
    }

    -it should fix things...
  1.  permalink
    Yep, that works just fine. It's unfortunate we need to do this kind of thing since IE7 was released. I won't bother making yet another complaint about Microsoft's products since we all feel the same way.
    • CommentAuthordavist11
    • CommentTimeMay 16th 2007
     permalink
    That’s surprising actually, IE7 has been fine in pretty much everything that I’ve done. We can almost put it on the same level as standards compliant browsers (FF, Safari).
Add your comments
    Username Password
  • Format comments as (Help)