favicon.ico

Ian Stephen ianstepn
Mon May 17 11:44:09 PDT 2004


Here's  the magic from mozilla's homepage.

The "link REL="icon" HREF="images/mozilla-16.png" TYPE="image/png"> line
is the key.  Links to an image like the line above it links to a
stylesheet.

>From Mozilla site...

<head>
<title>mozilla.org</title>
<link REL="stylesheet" HREF="persistent-style.css" TYPE="text/css">
<link REL="icon" HREF="images/mozilla-16.png" TYPE="image/png">
</head>

end Mozilla's stuff.

Glad you asked, now I know how I'm going to use that on my pages!

Ian Stephen

On Sat, 2003-02-08 at 15:46, Kurt Wall wrote:
> Many Web sites (www.mozilla.org and slashdot come to mind) have a little
> icon that appears at the beginning of the URL in the address bar of
> Web browsers and on tabs and in (some) bookmark pages. Several
> questions:
> 
> 1) Is this icon a Windows .ico format file or what? 
> 2) What are the requirements, such as size and number of colors, 
>    for said file?
> 3) What is the magic CSS or HTML incantation that makes it appear
>    in Web browsers?
> 
> Thanks,
> 
> Kurt
> -- 
> f u cn rd ths, u cn gt a gd jb n cmptr prgrmmng.
> _______________________________________________
> Linux-users mailing list
> Linux-users at linux-sxs.org
> Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users
-- 
Keep the Internet public,
avoid sending attachments in proprietary formats.
Try plain text, html, rtf or pdf.



More information about the Linux-users mailing list