SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Oct 2007
    Posts
    42
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    1px space below absolutely positioned footer in ie6

    hi

    on this page http://www.samtaleterapi.com/m2/ there is a 1px transparent space below the footer

    does anybody know how to remove that?

    thanks
    rasmus

  2. #2
    SitePoint Guru Ize's Avatar
    Join Date
    Nov 2005
    Location
    The Netherlands
    Posts
    808
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    #footer is nowhere to be found in your stylesheet, so it's nothing to do with that.
    Have you tried setting margins and padding for the HTML and BODY elements to 0?

  3. #3
    SitePoint Enthusiast
    Join Date
    Oct 2007
    Posts
    42
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    im puzzled: there certainly is a #footer specified in my stylesheet, and the margins are set to 0

    the stylesheets looks like this:

    http://www.samtaleterapi.com/m2/sheets/screen.css
    * {
    margin:0;
    padding:0;
    }
    html {
    overflow-y: scroll;
    }
    /*see http://www.pmob.co.uk/temp/1colcentred.htm*/
    /* commented backslash hack v2 \*/
    html, body {
    height:100%;
    }
    /* end hack */

    body {
    background:#636958;
    font-family:Verdana, Arial, Helvetica, sans-serif;
    font-size:11px;
    line-height:18px;
    color:#000;
    text-align:center;
    }
    #outer{
    min-height:100%;
    width:763px;
    background:transparent url(../images/body.jpg) repeat-y center top;
    margin:auto;
    text-align:left;
    position:relative;
    }
    #outer #content {
    margin:0 4px;
    }
    * html #outer {
    height:100%;
    }
    #header {
    background:url(../images/logo.jpg) no-repeat;
    width: 755px;
    height:100px;
    border-bottom: 2px solid #e0e8b9;
    margin:0 4px;
    }
    #footer {
    position:absolute;
    bottom:0;
    left:0;
    background:url(../images/footer.jpg) repeat-x;
    height:8px;
    overflow:hidden;
    width:755px;
    margin:0 4px;
    }

    #clearfooter {
    clear:both;
    height:8px;
    overflow:hidden;
    }/*needed to make room for footer*/

    /*content-filling*/
    a {
    color:#000;
    text-decoration:none;
    outline:0;
    }
    h1 {
    font-size:11px;
    font-family:Verdana, Arial, Helvetica, sans-serif;
    font-weight:bold;
    color:#1b7dc0;
    }
    h2 {
    font-size:11px;
    font-family:Verdana, Arial, Helvetica, sans-serif;
    font-weight:normal;
    }
    h3 {
    font-size:11px;
    font-family:Verdana, Arial, Helvetica, sans-serif;
    font-weight:bold;
    color:#1b7dc0;
    }
    h1 a, h3 a {
    color:#1b7dc0;
    }
    #left {
    float:left;
    padding:20px 20px 12px 20px;
    width:475px;
    border-right:2px solid #e0e8b9;
    }
    .red {
    color:#f00;
    font-weight:bold;
    }
    #right {
    padding:20px 0;
    float:left;
    border-left:2px solid #e0e8b9;
    margin-left:-2px;
    }
    .navstrong a {
    display:block;
    width:210px;
    font-weight:bold;
    color:#1b7dc0;
    padding-left:20px;
    margin-left:-2px;
    border-left:2px solid #e0e8b9;
    }
    .navstrong a:hover {
    border-left:2px solid #005ba0;
    }
    #right .strong {
    display:block;
    width:210px;
    font-weight:bold;
    color:#1b7dc0;
    padding-left:20px;
    margin-left:-2px;
    border-left:2px solid #e0e8b9;
    }
    .navindent a {
    display:block;
    width:210px;
    padding-left:20px;
    text-indent:20px;
    margin-left:-2px;
    border-left:2px solid #e0e8b9;
    }
    .navindent a:hover {
    border-left:2px solid #005ba0;
    }
    #right .normal, #right h2 {
    display:block;
    width:210px;
    padding-left:20px;
    text-indent:20px;
    margin-left:-2px;
    border-left:2px solid #e0e8b9;
    }
    .showIt {
    display:block;
    }
    .hideIt {
    display:none;
    }


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •