Favicons via CSS

DarkLight's picture

He has: 287 posts

Joined: Oct 2007

Hi, I have raked google for this answer and most say no, but I am not happy with this answer, so I will ask here too...
Is it possible (In any way) to display a favicon using CSS?
usually, html would use...
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
But i have a fairly large domain, and it would take hours.
Any info would be great,
Thanks in advance.
PS: I suggest staying clear of google for this answer, as it has already gain 3 TB worth of queries on this criteria due to me Sticking out tongue

All the best news here: https://newsbotnet.com

He has: 629 posts

Joined: May 2007

Considering that CSS selectors specifically target elements in the web page, not parts of the browser like the status bar or address bar, I fell pretty confident replying "no".

I can see where you are coming from, though. Microsoft added all kinds of proprietary stuff to CSS that does things like change the color of the scroll bar. I do hope that other browser manufacturers don't go down this road. I find enough to wrestle with on the web page itself to want to deal with such frippery.

For your immediate problem, have you considered using a content management system? You would then only have a few templates to deal with. Another solution is an editor[1] that does bulk updates to a collection of files, rather than one at a time. I believe that Dreamweaver has that capability, even old versions.

[1] One such editor I know of is "WildEdit" from textpad.com

Cordially, David
--
delete from internet where user_agent="MSIE" and version < 8;

DarkLight's picture

He has: 287 posts

Joined: Oct 2007

no, i havent thought of that, i will look further into it, it would help with mass duplicates like game interfaces and such.
As for the CMS, i do have one for my shop, but i really dont want to use one for the website itself.
the shops are not yet online, still under construction. I am still trying to get my head round the editing of php tags. they appear as little yellow squares instead of templates.

Thanks for the update, i thought it was not possible, but i needed confirmation.

All the best news here: https://newsbotnet.com

Megan's picture

She has: 11,421 posts

Joined: Jun 1999

Lots of editors can do mass search and replace, even in files that aren't open - that's the key, you want to be able to s/r in files without having to open all of them.

DarkLight's picture

He has: 287 posts

Joined: Oct 2007

ahh, this is ace, i am still pretty new to Adobe DW CS3, and I have just found Find and Replace. this is an app i have been after for years, and it is right here, on a program i have been using for months.
Thanks to both of you for telling me the name, i thought i had herd it somewhere, but never knew what it did (pretty dumb, as the name is self explanitory) Doh!

All the best news here: https://newsbotnet.com

She has: 70 posts

Joined: Nov 2007

If you have a large website, you really should look at using a CMS. I can't even imagine trying to build one from scratch anymore. That's like programming in assembler. Wink

Michelle

DarkLight's picture

He has: 287 posts

Joined: Oct 2007

very true, but I like it edditing individually, beside, my site aint massive, it only contains about a thousand pages or so, plus the additional 5000 duplicate media interfaces.
It probably would be easier, but untill i am competing with microsoft.com, i shall stick to a normal template management. the good old time consuming way:)
I appreciate what you are saying, and i do honestly agree, but i like the idea of being in total control of all my website, and edditing each bit manually. Instead of controlling a machine, be the machine. Wink
Thanks:)

All the best news here: https://newsbotnet.com

He has: 629 posts

Joined: May 2007

I'll back you up here, Reece.

I am learning a CMS for my own use. If I had not spent a really long time hand coding HTML and CSS etc. I would not know how to begin to handle the templating system. It does take a lot of experience to get a feel for making valid, accessible, and resilient web pages. I think fancy tools just get in the way of that learning.

That said, the fancy tools can be very useful, once you know what you are doing. Smiling

Cordially, David
--
delete from internet where user_agent="MSIE" and version < 8;

DarkLight's picture

He has: 287 posts

Joined: Oct 2007

webwiz;227475 wrote: I'll back you up here, Reece.

I am learning a CMS for my own use. If I had not spent a really long time hand coding HTML and CSS etc. I would not know how to begin to handle the templating system. It does take a lot of experience to get a feel for making valid, accessible, and resilient web pages. I think fancy tools just get in the way of that learning.

That said, the fancy tools can be very useful, once you know what you are doing. Smiling

Well Said Laughing out loud
I enjoy manually working with my website, if you got another program to build it for you then what is the point of web-designers?
Thanks WebWiz.

All the best news here: https://newsbotnet.com

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.