Icons

liunx

Guest
I am trying to fgure out how to attach an Icon to our site, if anyone can clue me in as to how to go about this that would be great!<!--content-->Are you referring to an icon within the URL address bar?br />
<br />
Basically you create an *.ico file 16x16 pixels in dimension with 4-bit colour, and add the following: <br />
<link rel="shortcut icon" href=http://www.webdeveloper.com/forum/archive/index.php/"http://www.yoursite.com/youricon.ico" type="image/x-icon" /><br />
If you are using a technically superior browser like Mozilla you also have the option of using: <br />
<link rel="icon" href=http://www.webdeveloper.com/forum/archive/index.php/"http://www.yoursite.com/youricon.png" type="image/png"><br />
<br />
Micro$oft has bugs regarding displaying the icon when cache is cleared.<!--content-->Originally posted by Robert Wellock <br />
type="image/x-icon" <br />
<br />
:confused:<br />
<br />
Where did you pick that up?<br />
<br />
I can't find that as a valid mimetype in the official list.<br />
<!-- m --><a class="postlink" href="ftp://ftp.isi.edu/in-notes/iana/assignments/media-types/media-types">ftp://ftp.isi.edu/in-notes/iana/assignm ... edia-types</a><!-- m --><br />
<br />
Just curious :)<!--content-->I picked that up from the 'Frobozz Magic Mime Type Company'. No actually I cannot remember, but it would be the correct mime value for a Micro$oft icon file, but then again I'd use the Mozilla methodology. <br />
<br />
Although I've never found the CORRECT mime for PHP with regards to XHTML and scripting, like with "text/javascript", "application/x-php" doesn't quite seem right, perhaps it is though :confused:.<!--content-->
 
Back
Top