/    Sign up×
Community /Pin to ProfileBookmark

CSS issue in IE6. Adding a weird line in the Header.

It is only doing it in IE. In firefox it works correct. It is adding the Horizontal scroll bar and there is a line that goes all the way across the screen right below the header banner. I have located it to this part of the css file below. Can anybody see any problems or fixes that I can make.. Thanks

/*layout*/

#leftcol {
width: 180px;
float: left;
display: inline; /*for IE to avoid margin doubling*/
margin-left: 10px;
clear: both;
}

#page:after {
content: “.”;
clear: both;
visibility: hidden;
height: 0;
display: block;
}

/*good browsers: enclose leftcol and content*/

  • * html>body #page { display: inline-table }
    /*Mac IE 5: enclose leftcol and content*/
  • /*fix disappearing header in IE 6, non-enclosing 1% #page*/
    *
    html #header, * html #page { height: 1%; } <– something with is causing it.
    *
    html #page {
    display: inline;
    float: left;
    } /*enclose floats, don’t add scrollbar*/
    /*end hiding from mac IE*/

    #content-wrapper{
    width: 100%;
    float: right;
    left:205px;
    }

    #content {
    margin-left: 203px; /*leftcol + margin + padding -1px*/
    margin-right: 30px;
    }
    /*hide from IE; fixes falling leftnav*/
    html>body #leftcol{
    clear:none;
    }
    html>body #content-wrapper{
    margin-left: -205px;
    }
    /*end hiding from ie*/

    /*position img correctly in Mac IE;*/
    * html>body #container> #footer {position: relative;}
    *
    html>body #footer a> img.brand {position: absolute; top: 0; left: 0;}
    /*end mac ie fix */

    to post a comment
    CSS

    4 Comments(s)

    Copy linkTweet thisAlerts:
    @BonRougeSep 21.2006 — Hi. Need to see the patient.
    Copy linkTweet thisAlerts:
    @BonRougeSep 21.2006 — hr.accessible {
    display:none;
    }


    (or just remove them from your html).

    (By the way observers, I don't have a crystal ball. I got a PM).
    Copy linkTweet thisAlerts:
    @zap123authorSep 21.2006 — thanks ?
    Copy linkTweet thisAlerts:
    @ray326Sep 21.2006 — By the way observers, I don't have a crystal ball.[/QUOTE]What a disappointment. ?
    ×

    Success!

    Help @zap123 spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 5.12,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @AriseFacilitySolutions09,
    tipped: article
    amount: 1000 SATS,

    tipper: @Yussuf4331,
    tipped: article
    amount: 1000 SATS,

    tipper: @darkwebsites540,
    tipped: article
    amount: 10 SATS,
    )...