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 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Sep 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question IE 6 extra image padding

    Hi - Here is a link to a very simple webpage (stripped out all other content to clearly illustrate the problem). In IE6 there is a space between the header image and the red line image. I have tried everything to get rid of it. Any help would be greatly appreciated.

    Http://www.cricketcreekfarm.com/newsite/test.php

    code:

    <html>
    <head>
    <title>CCF</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/strict.dtd">
    </head>
    <body class="body" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
    <img src="images/header-1.jpg" width="626" height="276" alt="Cricket Creek Farm" border="0"><img src="images/red-bar.gif" width="750" height="5" border="0">
    </body>
    </html>

  • #2
    Regular Coder BonRouge's Avatar
    Join Date
    Mar 2006
    Location
    Sendai, Japan
    Posts
    328
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Code:
    img {
    display:block;
    }


  •  

    Posting Permissions

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