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.

    • CommentAuthorWardLarson
    • CommentTimeMar 25th 2007 edited
     permalink
    My site, http://wardlarson.com/, was just redesigned by yours truly. It looks good in Firefox (2.0.0.3) but when I check it in IE (7), there's a problem. The content is hidden under the header and I have no idea what to do about it. I've tried all the padding and margin combinations I could think of and nothing works. Every thing's valid but for some reason it's still an issue.

    Can anyone help me out? CSS is at stylesheet.css

    Thanks a ton to anyone who has any suggestions.
    • CommentAuthorWardLarson
    • CommentTimeMar 26th 2007
     permalink
    anyone?
  1.  permalink
    I wouldn't use absolute positioning..

    try this... I didn't test it but i believe the problem to be with clearing..

    #header {
    display: block;
    height: 475px;
    width: 100%;
    margin:0 auto;
    }

    #content {
    display: block;
    font-family:Arial, Helvetica, sans-serif;
    font-size:18px;
    color:#FFF;
    height:auto;
    width:935px;
    background-color:#B1BA4E;
    padding-right:5px;
    padding-left:5px;
    float: none;
    margin: 0px auto;
    clear: both;
    }
    • CommentAuthorWardLarson
    • CommentTimeMar 26th 2007
     permalink
    that didn't work, but thanks for trying.
    •  
      CommentAuthorstrugglefish
    • CommentTimeMar 26th 2007 edited
     permalink
    I downloaded the code and it does work for me in FF, ie6, and ie7,

    did you remove the position: absolute from #header?

    This will create other problems but you should be able fix the alignment once you get the content clearing properly.

    you actually dont even need the clear:both: i included in my first post, removing postion: absolute; fixes the problem.
    • CommentAuthorWardLarson
    • CommentTimeMar 26th 2007 edited
     permalink
    okay, the content shows, but now there's a 15pixel gap at the top of the page, and a gap between the header and the content.


    i found out how to make my navigation show up in IE7
    • CommentAuthorWardLarson
    • CommentTimeMar 26th 2007
     permalink
    okay i set margins on body to 0 all around, and that eliminates the gap... everything's good now except that my navigation has some type of line height or padding issues in IE7... :/
Add your comments
    Username Password
  • Format comments as (Help)