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 10 of 10

Thread: Favicon help

  1. #1
    New Coder
    Join Date
    Feb 2005
    Posts
    26
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Favicon help

    I searched the forums and put all the tags I thought should work in the site, but it doesn't seem to show any ideas?

    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
    <link rel="icon" href="/favicon.ico" type="image/x-icon" />
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
    <link rel="icon" href="/favicon.ico" type="image/x-icon" />

    This is what I have. Site is www.hawtalta.com

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    working fine for me, clear your cookies and temp files close your browser completely then go back to your site, should work then, o just like to add you are missing a doctype btw, looks as if it should be an xhtml doctype but then i see your coding and it isn't xhtml compliant, xhtml is all in lower case

  • #3
    New Coder
    Join Date
    Feb 2005
    Posts
    26
    Thanks
    0
    Thanked 0 Times in 0 Posts
    How would I go about adding that? it is php with html. I just started this last month and am trying to teach myself everything. Thanks for the help.

  • #4
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    the doctype goes directly above the <html> tag check out this thread for more info Which Dtd (doctype) to use on page?

  • #5
    J&J
    J&J is offline
    New Coder
    Join Date
    Sep 2003
    Location
    your temp folder
    Posts
    89
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Use absolute URLs

    In the past, I couldn't make my favicon show, & I realized that certain browsers don't react the same way to relative URLs, the same thing happens with external styles.

    To be safe, use an absolute URL in your favicon's location, like so:

    Code:
    <link rel="shortcut icon" href="http://www.yourdomain.com/favicon.ico" type="image/x-icon" />
    ~ J&J ~
    "Sometimes I feel like I'm rearranging deck chairs on the Titanic."


    Work | Family | Community

  • #6
    New Coder
    Join Date
    Feb 2005
    Posts
    26
    Thanks
    0
    Thanked 0 Times in 0 Posts
    It was workign, just needed to clear the cache.

  • #7
    J&J
    J&J is offline
    New Coder
    Join Date
    Sep 2003
    Location
    your temp folder
    Posts
    89
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Not in NS6

    Er actually, it's not working/showing when viewed with Netscape 6.2.
    ~ J&J ~
    "Sometimes I feel like I'm rearranging deck chairs on the Titanic."


    Work | Family | Community

  • #8
    New Coder
    Join Date
    Feb 2005
    Posts
    26
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hmm wierd. I'll take a look when I get home.

  • #9
    Senior Coder
    Join Date
    Nov 2003
    Location
    Minneapolis, MN
    Posts
    2,879
    Thanks
    2
    Thanked 65 Times in 56 Posts
    I wish I could remember where I read this, but I'm pretty sure that favicons are pretty buggy to begin with; in other words, different browsers have radically different ways of caching them, displaying them, etc.

    Not to stop you from using them, just saying that if you are sure you're doing everything right maybe it'll work itself out eventually...

  • #10
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    works for me in IE 6.02, FF 1.0, Netscape 7.02, and Opera 7.54


  •  

    Posting Permissions

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