Problem with header image in IE6/7

Discussion in 'CSS' started by Sunlust, Sep 18, 2007.

  1. #1
    I am developing a website for my friend, and I have a problem with image in the header, it works fine on FF, Opera, Safari, but fails in IE6/7.

    address is: http://test.newlocal.co.uk

    I know that it's a problem with css, but I can't find any help anywhere.

    that's the link to my css file, I know it's really messy, I'm sorry for that, it's my first website ever.

    http://www.newlocal.co.uk/uploads/test.css

    I only ask for help with that header image, to make it not mess up in IE 6/7, rest of bugs I slowly work out myself, and work on it.

    Thanks to anyone who decides to help.
     
    Sunlust, Sep 18, 2007 IP
  2. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #2
    Helps to close your anchor tag.

    <h1><a href="index.html" <img

    I think you're also closing one more div than you need to - a problem that would show up with some form of PROPER indentation on your code.

    You should probably try validating your HTML before tackling CSS.
     
    deathshadow, Sep 18, 2007 IP
  3. Sunlust

    Sunlust Active Member

    Messages:
    448
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    60
    #3
    Okay, I have a good validator, I'll try it, and I'll find out what "proper" indentation means ^_^

    Thanks a lot for your help, hope I can figure it out from that point.

    EDIT: you were right, it was all the fault of one anchor link, cheers a lot for help, both problems with my header fixed with help of validators and your little tips ^_^ and to think that I was struggling with them for so long.
     
    Sunlust, Sep 18, 2007 IP