Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-27-2006, 10:11 PM   PM User | #1
randybruder
New to the CF scene

 
Join Date: Feb 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
randybruder is an unknown quantity at this point
page icons in css

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
randybruder is offline   Reply With Quote
Old 09-27-2006, 10:51 PM   PM User | #2
LokiLoks
New Coder

 
Join Date: Sep 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
LokiLoks is an unknown quantity at this point
Rule of thumb

I am positive it won't work in CSS.
I recommend you use a server side include for something like that.

Robert Kruger
LokiLoks is offline   Reply With Quote
Old 09-27-2006, 11:01 PM   PM User | #3
mark87
Senior Coder

 
Join Date: Dec 2004
Location: Essex, UK
Posts: 2,636
Thanks: 0
Thanked 0 Times in 0 Posts
mark87 is on a distinguished road
Can you not just place your icon, saved as favicon.ico, in your root dir?
__________________
markaylward.co.uk
mark87 is offline   Reply With Quote
Old 09-27-2006, 11:38 PM   PM User | #4
_Aerospace_Eng_
Supreme Master coder!


 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,293
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light
Quote:
Originally Posted by mark87 View Post
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.
__________________
||||If you are getting paid to do a job, don't ask for help on it!||||
_Aerospace_Eng_ is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:05 AM.


Advertisement
Log in to turn off these ads.