As Stefan stated; you cannot place HTML markup within a CSS file, a far better task would have been to look where Micro$oft have placed their DTD reference on their main page, whoops they seem to have forgot that minor detail.
If you want to see where I have placed my address bar icon on my beta site: http://www.xhtmlcoder.com/worthvalley/ then you are welcome, but remember Micro$oft IE probably won't display the file you'd have to use a more "web standards" compliant browser like Mozilla or Opera 7.0.
I also forgot to mention you could use the server to push the icon rather than define it within the HTML.
Last edited by Robert Wellock; 02-04-2003 at 11:43 AM.
Originally posted by guy1407 When I said you are wrong - I was talking about this line:
"It must go in the HTML file."
That was in reply to your "can I place it in the CSS file".
Never the less I am still right, it MUST go into the HTML file. The way you get the favicon in some browsers anyway (even if it's not in the HTML) is as I have already stated, they randomly spam the visted webserver for an iconfile, even if one is not specified ANYWHERE in the webpage files.
Theoretically if you place a file expressively called: "favicon.ico" of the type "image/x-icon" within your root directory of your site Micro$oft IE 6.0 will use that if you don't use the (X)HTML link method. It's just one of the many design faults of Micro$oft IE.