why my header imge cant be seen in some browsers?

Discussion in 'HTML & Website Design' started by satrap, Oct 4, 2009.

  1. #1
    hi, i made a custom logo(very simple one) and replaced it with the original one that came with the free theme. but i have noticed that in some browsers it doesn't come up. for example when i asked people to review my blog and give me feedback in this forum, most of them said " why don't you have a header logo or something?". can anyone please help me in the right direction and tell what needs to be done. thank you so much in advance.
    here is the blog in question www.blogstash.com







    61 Free Ways To Drive Massive Quality Traffic To Your site!
     
    satrap, Oct 4, 2009 IP
  2. mjewel

    mjewel Prominent Member

    Messages:
    6,693
    Likes Received:
    514
    Best Answers:
    0
    Trophy Points:
    360
    #2
    Nothing shows in FF or ie8. Why don't you post the url to the logo that is supposed to displaying.
     
    mjewel, Oct 4, 2009 IP
  3. satrap

    satrap Well-Known Member

    Messages:
    156
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    123
  4. goliath

    goliath Active Member

    Messages:
    308
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    60
    #4
    A) The picture is never linked in the code, I can't find a single reference to it in the source. To find out why some browsers are displaying it and others are not, you should first look at how IE7 can show it. Is it hidden in a javascript include?

    B) Also w3 says "124 Errors, 67 warning(s) ". Until you address some of that you will have odd behaviors in different browsers.

    If you're not familiar with the w3 validator here is a link:

    http://validator.w3.org/check?uri=h...(detect+automatically)&doctype=Inline&group=0

    Good luck!
     
    Last edited: Oct 4, 2009
    goliath, Oct 4, 2009 IP
  5. satrap

    satrap Well-Known Member

    Messages:
    156
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    123
    #5
    thanks for the help goliath. i checked the w3, but have no idea what to do! i am trying to understand this, for example it shows this as an error
    <link rel=”shortcut icon” href=”/favicon.ico” />
    so dose it mean that i am missing that part of the code (the red part) and i have to enter the code there?

    thank you.
     
    Last edited: Oct 4, 2009
    satrap, Oct 4, 2009 IP
  6. goliath

    goliath Active Member

    Messages:
    308
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    60
    #6
    The red is an indicator of where the invalid code begins. "shortcut icon" is not a valid REL attribute.

    If you want to meta include your favicon, it goes like this:

    <link rel="icon" type="image/vnd.microsoft.icon" href="/favicon.ico" /> 
    Code (markup):
    So the red character just indicates exactly where the error is, it is not a suggestion for a fix. HTH :)

    EDIT: corrected to formal MIME type for icons, according to wikipedia.
     
    goliath, Oct 4, 2009 IP
  7. satrap

    satrap Well-Known Member

    Messages:
    156
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    123
    #7
    thank you for taking the time to help me. my code right now is this
    <link rel=”short icon” href=”<?php echo get_settings(’home’); ?>/favicon.ico” />

    so do i replace the whole thing with the code you gave me?
     
    satrap, Oct 4, 2009 IP
  8. satrap

    satrap Well-Known Member

    Messages:
    156
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    123
    #8
    ok i just did replace the whoe thing and w3 dosnot show any error for that any more. so is this fixed now?
     
    satrap, Oct 4, 2009 IP
  9. goliath

    goliath Active Member

    Messages:
    308
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    60
    #9
    Well it sounds like you fixed that one, yes. You're on the way! :)
     
    goliath, Oct 4, 2009 IP
  10. satrap

    satrap Well-Known Member

    Messages:
    156
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    123
    #10
    ok, well thank you so much for the help. ill try to fix the rest and the logo somehow. any way thank you again.
     
    satrap, Oct 4, 2009 IP