Go Back   Computer Forums > Web Design | Website Development > Web Programming
Click Here to Login
Join Computer forums Today

Thread Tools Search this Thread Display Modes
Old 01-17-2010, 01:58 PM   #1
In Runtime
hockeygoalie5's Avatar
Join Date: Dec 2009
Location: United States
Posts: 299
Default CSS for all files without linking?

I noticed if I upload a favicon to my public_html folder for my website, all files have that favicon without me having to link it. I tried this with a CSS, but that didn't work. Is there a way to make it so I can upload any file and that css applies to it, unless there's a link telling it otherwise?

hockeygoalie5 is offline   Reply With Quote
Old 01-17-2010, 06:12 PM   #2
Site Team
berry120's Avatar
Join Date: Jul 2009
Location: England, UK
Posts: 3,434
Default Re: CSS for all files without linking?

Not that I know of - but is it really that hard to link the stylesheet in on each page?

berry120 is offline   Reply With Quote
Old 01-19-2010, 08:07 AM   #3
Site Team
root's Avatar
Join Date: Mar 2004
Posts: 8,107
Default Re: CSS for all files without linking?

favicon is a special file.

you can only have one.

whilst you could have lots o different styles, (general_style.css, members.css page3.css etc).
how would the browser know which style sheet to look at?

so short answer and long and answer is no.
I didn’t fight my way to the top of the food chain to be a vegetarian…
Im sick of people saying 'dont waste paper'. If trees wanted to live, they'd all carry guns.
"The inherent vice of capitalism is the unequal sharing of blessings; The inherent vice of socialism is the equal sharing of miseries."
root is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are Off

All times are GMT -5. The time now is 10:43 PM.

Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0