Welcome to HostingForumz.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Passing parameters to style sheet, e.g. "mystyle.css?color..

 
   Web Hosting Problem Solving Community! (Home) -> Webmaster RSS
Related Topics:
how to create "style sheet" in frontpage?? - Hi there... As referred to the was abit loss on this.. would be if someone could guide me step by step.. Thanks (P.s: please reply to the group, as the email is a DUMMY address. thanks) --- this Outgoing mail is certified Virus..

Anyone have a detailed product sheet? - Hi all; I'm looking for a detailed and varied product sheet in an Excel or CSV format in order to write a demo of a dynamic inventory display system. Ideally, I'd like a product listing with the following columns (or close to it): SKU

Alternative to 3c color converter? - Having just got a new system, I am looking for a good free color converter and capture utility. I used to use 3c, but this doesn't appear to be available anymore. Any advise (xp home)

Viewing text on different color backgrounds - Is there an easy online way I can preview a text color on several diffent color I believe there used to be a site called but it no longer works. Thanks, Faraz

Repost on Complimentary Web Color Thingy? - Hi! A while back, someone posted the URL to a great tool you would select (or enter the hex value of) a color, and it would show you colors to go with it in a design scheme. Does anyone remember that URL? Thanks, -- David,..
Next:  application/pdf sent to IE  
Author Message
rjensen

External


Since: Oct 19, 2004
Posts: 1



(Msg. 1) Posted: Tue Oct 19, 2004 11:18 pm
Post subject: Passing parameters to style sheet, e.g. "mystyle.css?color=ffffff"
Archived from groups: alt>www>webmaster (more info?)

How can I pass parameters to my style sheets? I have noticed a couple
of sites are now passing variables to the style sheet, which appear to
be substituted at run time. For example:

<link rel="stylesheet" type="text/css"
href="mystyle.css?color=ffffff">

I have seen references in my temp Internet file directory that
indicates this is possible, but I can't find any documentation how to
do it.

I am running MS IIS/ASP.

Thanks,

Roger

 >> Stay informed about: Passing parameters to style sheet, e.g. "mystyle.css?color.. 
Back to top
Login to vote
discooctopusn0

External


Since: Nov 12, 2003
Posts: 107



(Msg. 2) Posted: Wed Oct 20, 2004 6:41 am
Post subject: Re: Passing parameters to style sheet, e.g. "mystyle.css?color=ffffff" [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Roger wrote:
 > How can I pass parameters to my style sheets? I have noticed a couple
 > of sites are now passing variables to the style sheet, which appear to
 > be substituted at run time. For example:
 >
 > <link rel="stylesheet" type="text/css"
 > href="mystyle.css?color=ffffff">

i would suggest that perhaps who had done this would have set up their *.css
to be configured by the web server to be interpreted during opening... (eg
using some like php) and then the server side scripting thing would do stuff
with it.

IOW... instead of sending something to mystyle.php?thing=whatever .... they
just do mystyle.css?thing=whatever. ... notice the only difference is the
file extension.<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Passing parameters to style sheet, e.g. "mystyle.css?color.. 
Back to top
Login to vote
shit1

External


Since: Jul 09, 2004
Posts: 446



(Msg. 3) Posted: Wed Oct 20, 2004 7:42 pm
Post subject: Re: Passing parameters to style sheet, e.g. "mystyle.css?color=ffffff" [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In alt.www.webmaster Roger said:

 > <link rel="stylesheet" type="text/css" href="mystyle.css?color=ffffff">

inefficient and unlikely you would need to change just one color. change
the entire stylesheet. if you're just changing colors then use a css
file that just has the different colors in it.

example:
<a style='text-decoration: underline;' href="http://csschanger.usenetshit.info/" target="_blank">http://csschanger.usenetshit.info/</a>

 > I am running MS IIS/ASP.

my condolences


--


v o i c e s<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Passing parameters to style sheet, e.g. "mystyle.css?color.. 
Back to top
Login to vote
nospam34

External


Since: Oct 20, 2003
Posts: 294



(Msg. 4) Posted: Wed Oct 20, 2004 7:53 pm
Post subject: Re: Passing parameters to style sheet, e.g. "mystyle.css?color=ffffff" [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Roger wrote:

 > How can I pass parameters to my style sheets? I have noticed a couple
 > of sites are now passing variables to the style sheet, which appear to
 > be substituted at run time. For example:
 >
 > <link rel="stylesheet" type="text/css"
 > href="mystyle.css?color=ffffff">
 >
 > I have seen references in my temp Internet file directory that
 > indicates this is possible, but I can't find any documentation how to
 > do it.
 >
 > I am running MS IIS/ASP.
 >
 > Thanks,
 >
 > Roger

They are probably running a cgi that generates the css.

Nothing stopping you to generate .css or any other file extension as cgi.
I've done it myself.

gtoomey<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Passing parameters to style sheet, e.g. "mystyle.css?color.. 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> Webmaster All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]