I can think of several different ways to handle this.

1)  Process .css files.  Bad plan -- it eats resources processing what 
should be static files.

B)  Put the static classes in one file, and the changing ones in css 
files that are dynamically linked.

Three)  Put the static classes in one file, and link to a second file 
that's a cfm page.  The CSS files don't have to be named *.css, remember.

HTH.

--BenD

Bruce Sorge wrote:
> Good morning everyone.
> I have a question. I am working on our school's websites and rather than
> have 12 different style sheets, I would like to have one style sheet that
> has three classes where the background-color attribute is dynamic. So how
> would I go about doing this? Now I can create a css.cfm page and load the
> colors into the database, making sure that the proper school ID is
> associated with their respective colors, but I thought that I might be able
> to use the .css page instead.
> 
> 
> Thanks,
> 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288103
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to