PDA

View Full Version : page icons in css



randybruder
09-27-2006, 11:11 PM
Is it possible to have this code:

<link rel="icon" href="icon.gif" />

in a css document?

(I would rather not have to go through and add that to every pages)

Thanks!
-Randy

LokiLoks
09-27-2006, 11:51 PM
I am positive it won't work in CSS.
I recommend you use a server side include for something like that.

Robert Kruger

mark87
09-28-2006, 12:01 AM
Can you not just place your icon, saved as favicon.ico, in your root dir?

_Aerospace_Eng_
09-28-2006, 12:38 AM
Can you not just place your icon, saved as favicon.ico, in your root dir?

That would work in most browsers. It won't work in IE though.