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.

    • CommentAuthorgrrreat
    • CommentTimeJul 24th 2006
     permalink
    I have been helping a friend out with his site http://www.gcheckoutbuzz.com/ and the site looks just fine in Firefox but not in MSIE. Any suggestions on how to fix that? Its the sidebar in his wordpress blog that does not show up properly.
  1.  permalink
    The issue you are running into is the right column content is too wide for the side class. (In firefox you can see the google ads box is a little larger than the other 4.)

    The floats and widths you are using are causing the side class content to fall below the main class content.

    The easiest fix is to either make "#content .side" larger, or "#content.main" smaller. I made the content main class smaller by 5px, and it seemed to fix the problem for me.

    Original:
    #content .main{
    float: left;
    width: 630px;
    }

    Change:
    #content .main{
    float: left;
    width: 625px;
    }

    Matthew Sloggett
    • CommentAuthorgrrreat
    • CommentTimeJul 24th 2006
     permalink
    Thanks for replying Matthew

    After making that change, the images for each HR dont seem to line up.
  2.  permalink
    Sorry,
    I was working locally, and didn't take into consideration the bg images. Depending on your point of view... The nice thing or bad thing about css is there are many ways to get the result you are looking for.

    One way to fix your problem is to keep the css the same and edit your image:
    http://www.gcheckoutbuzz.com/wp-content/themes/gbuy/images/content-side-bg.gif


    A css fix would be to go to your original source again...

    Original:
    #content .main{
    float: left;
    width: 630px;
    }

    ...And change the overflow on the side class:

    Original:
    #content .side{
    background: transparent url(images/side-bg-top.gif) no-repeat top left;
    padding: 20px 0 0 0;
    float: left;
    width: 330px;
    }

    Change:
    #content .side{
    background: transparent url(images/side-bg-top.gif) no-repeat top left;
    padding: 20px 0 0 0;
    float: left;
    width: 330px;
    overflow: hidden;
    }


    There are any number of ways to fix your problem. I hope you can come to a solution you like.
    Matthew
    • CommentAuthormista3
    • CommentTimeJul 24th 2006
     permalink
    Maybe IE is broken? Ok sorry lame joke! Hope you got it sorted!
    • CommentAuthorgrrreat
    • CommentTimeJul 25th 2006
     permalink
    The overflow didnt seem to work. Anything else besides changing the image?
  3.  permalink
    In order for the overflow solution to work, make sure to change back the content.main class width to 630px...

    #content .main{
    float: left;
    width: 630px;
    }
    • CommentAuthorgrrreat
    • CommentTimeJul 26th 2006
     permalink
    That worked like a charm!

    Thanks alot Matt. I owe you one.
Add your comments
    Username Password
  • Format comments as (Help)