Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Jan 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question How to get rid of that extra space (IE6 only)

    Look at this page in IE6:
    http://www.marsut.net/namikiss

    There's some extra space on the right side and I want to get rid of it. Is this "the 3px bug"?

    Well, here's some CSS:
    Code:
    body,
    html {
        margin:0;
        padding:0;
        background: #857155;
        color: #663300;
        font-family: Verdana, sans-serif;
        font-size: 1em;
        }
    body {
        min-width:820px;
        }
    #wrap {
        background:#CBBFAE;
        margin: 1em auto 0 auto;
        width:800px;
        border: 1px solid #675742;
        }
    #header {
        background: url(banneri_01.jpg) no-repeat;
        height: 143px;
        margin: 0;
        padding: 0;
        }
    #nav {
        background: url(banneri_02.jpg) no-repeat;
        margin: 0;
        height: 37px;
        }
    #nav ul{
        margin:0 0 0 0.5em;
        padding:0;
        white-space: nowrap;
        font-family: Tahoma, serif;
        }
    #nav li, #nav a{
        display:inline;
        margin: 0;
        padding: 0.3em;
        color: #fff;
        font-style: italic;
        list-style-type:none;
        text-decoration: none;
        font-weight: bold;
        font-size: 15px;
        font-family: Tahoma, serif;
        }
    #single {
    	background:#CBBFAE;
    	padding: 1em;
    }
    And HTML for this single column page:
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fi" lang="fi">
    
    <head>
    <title>Kennel Namikiss</title>
    <link href="style.css" rel="stylesheet" type="text/css" />
    <meta http-equiv="content-type" content="text/html; charset=iso-8859-15" />
    <meta name="Author" content="Laura Haataja 2007" />
    <meta name="keywords" content="koira, koirat, Namikiss, australianpaimenkoira" />
    <meta name="robots" content="index, nofollow" />
    </head>
    
    <body>
     <div id="wrap">
      
      <div id="header"></div>
      
      <div id="nav">
      <ul>
    	<li><a href="koirat.html">Koirat ::</a></li>
    	<li><a href="kasvatit.html">Kasvatit ::</a></li>
    	<li><a href="pentuja.html">Pentuja ::</a></li>
    	<li><a href="muistoissa.html">Muistoissa ::</a></li>
    	<li><a href="http://picasaweb.google.fi/alli.lohela">Kuvia ::</a></li>
    	<li><a href="uutiset.html">Uutiset ::</a></li>
    	<li><a href="linkit.html">Linkkejä ::</a></li>
    	<li><a href="vieraskirja.html">Vieraskirja ::</a></li>
      </ul>
      </div>
     
      <div id="single">
      
      <h1>Linkkejä</h1>
      
      <p class="linkit"><a href="http://www.australianpaimenkoirat.net">Australianpaimenkoirat ry</a><br/>
      <a href="http://www.oulunkoirakerho.net/">Oulun koirakerho ry</a><br/>
      <a href="http://www.kennel-secretfriends.com/">Kennel Secret Friend's</a><br/>
      <a href="http://eyespy.sata1.com/">Kennel Eyespy</a><br/></p>
      </div>
    	
      <div id="footer">
      <p>Layout &copy;<a href="mailto:lansu@marsut.net">Laura Haataja</a>2008<br/>Kuvien luvaton kopiointi
      ja käyttö virtuaalikenneleissä on kielletty.</p>
      </div>
    </div>
    
    </body>
    </html>
    Please help

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,859
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    Look at
    Code:
    #nav ul{
        margin:0 0 0 0.5em;
    }
    If you change it to zero, everything will be fine!
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    New to the CF scene
    Join Date
    Jan 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thank you! This was a big help for me

  • #4
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,680
    Thanks
    6
    Thanked 1,009 Times in 982 Posts
    Small fix, big help. If life would always be that easy…


  •  

    Posting Permissions

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