IE6 error, help!

Discussion in 'HTML & Website Design' started by carlosp120, Jul 10, 2007.

  1. #1
    i need help in:
    http://dnfinder.net/
    coding that site, if u looked in any browsers, looks everything
    but there are some error in IE6
    can any1 help me?
     
    carlosp120, Jul 10, 2007 IP
  2. haruko764

    haruko764 Peon

    Messages:
    25
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    First error is that IE6 doesn't support transparent PNGs. Thats why that image background is grey. You need to either use a transparent gif or put the background color in the image itself.

    As for the pixels of empty space in between the top and mid divs of that text box - I'm baffled. However, when doing things like that, its generally good to wrap all 3 divs up in a container. Set the width to a definite width and the height to auto.

    If all else fails, put this in your header:

    <!--[if IE]><style>Put some styles here</style><![endIf]-->

    Inside the style tag, just mess with the styles of those divs until it looks right in IE. Try negative padding and negative top margins.
     
    haruko764, Jul 10, 2007 IP
  3. carlosp120

    carlosp120 Well-Known Member

    Messages:
    163
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    105
    #3
    well i put the ie6 png transparency hack, if u see the buttons on the left are trasnparent too. but the logo doesnt appear trasnparent, do u know why?
     
    carlosp120, Jul 10, 2007 IP
  4. haruko764

    haruko764 Peon

    Messages:
    25
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Hm...its hard to say. I generally just put my backgrounds in my PNGs, so I'm not an expert, but I'd have to say that it has something to do with the fact that the buttons on the left are clean cut images with definite borders and a plain transparent background, so its easy to render the transparency. However, with the header image, you've got a gradient into transparency, so it might have more trouble than usual rendering it.
     
    haruko764, Jul 10, 2007 IP