Need help with a simple Header.html file

Discussion in 'HTML & Website Design' started by hmansfield, Mar 22, 2008.

  1. #1
    Right now the header on my site is an image, and I know that it is not the correct way to do it, so that it will display the same for everyone on all browsers.
    The script I am using for the site, allows me to add a Header.php, or a Header.html

    Can anyone help me with a simple code for a Header.html file, that will allow me to use the same image?

    Any help is appreciated.
    Thanks.
     
    hmansfield, Mar 22, 2008 IP
  2. twistedspikes

    twistedspikes Notable Member

    Messages:
    5,694
    Likes Received:
    293
    Best Answers:
    0
    Trophy Points:
    280
    #2
    What so you want just how to place an image in there?

     
    twistedspikes, Mar 22, 2008 IP
  3. hmansfield

    hmansfield Guest

    Messages:
    7,904
    Likes Received:
    298
    Best Answers:
    0
    Trophy Points:
    280
    #3
    Yes. So that it will show up the same for everyone....right now it is not doing that just as a simple image.
     
    hmansfield, Mar 22, 2008 IP
  4. wd_2k6

    wd_2k6 Peon

    Messages:
    1,740
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Why what's going wrong?
    The code twisted spikes has given you will put the image in the header without probs?
     
    wd_2k6, Mar 22, 2008 IP
  5. hmansfield

    hmansfield Guest

    Messages:
    7,904
    Likes Received:
    298
    Best Answers:
    0
    Trophy Points:
    280
    #5
    Yes. I am putting it up now.
    I went to my site on another computer, and the header was not displayed well and it horrified me.
    I am assuming if I just make the header.html file where the script lets me include it, it will display the same for everyone. Am I correct?
     
    hmansfield, Mar 22, 2008 IP
  6. wd_2k6

    wd_2k6 Peon

    Messages:
    1,740
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I'm not too sure your whole layout is in tables which could prove to be a problem..
    but as far as i know the code given above will display the same in all browsers. I think there may be a little gap after the image in IE, to get rid of this add display:block; to your image class.
     
    wd_2k6, Mar 22, 2008 IP
  7. Sonikk

    Sonikk Peon

    Messages:
    25
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Hmm.. Weird problem you got there as i dont see any errors in the code..
     
    Sonikk, Mar 22, 2008 IP