RE: "Dynamic" CSS problem

2008-02-14 Thread Jenny Gavin-Wear
Perfect, thank you Jake, works exactly how I need. It was the CSS formatting I was getting wrong. Jenny -Original Message- From: Jake Churchill [mailto:[EMAIL PROTECTED] Sent: 14 February 2008 03:30 To: CF-Talk Subject: RE: "Dynamic" CSS problem Here's what I'd do

RE: "Dynamic" CSS problem

2008-02-13 Thread Jake Churchill
ope that helps! _ Jake Churchill Team Leader 11204 Davenport, Ste. 100 Omaha, NE 68154 http://www.cfwebtools.com 402-408-3733 x103 -Original Message- From: Jenny Gavin-Wear [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 13, 2008 9:06 PM To: CF-Talk Subject: "Dynamic&q

"Dynamic" CSS problem

2008-02-13 Thread Jenny Gavin-Wear
Hi, I'm trying to do a bit of "dynamic-ish" css. In the following code I need to be able to change the appearance of the link to highlight the currently selected menu option. I've tried putting spans and divs around an item, but that does nothing. I've tried ID and Class, still nothing. I'm sur

RE: "Dynamic" CSS

2007-09-11 Thread Andy Matthews
But then you've still got two places you'd need to edit. -Original Message- From: Jim Davis [mailto:[EMAIL PROTECTED] Sent: Monday, September 10, 2007 9:07 PM To: CF-Talk Subject: RE: "Dynamic" CSS > -Original Message- > From: Andy Matthews [mailt

RE: "Dynamic" CSS

2007-09-10 Thread Bobby Hartsfield
ss to call. ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Bruce Sorge [mailto:[EMAIL PROTECTED] Sent: Monday, September 10, 2007 1:00 PM To: CF-Talk Subject: "Dynamic" CSS Good morning everyone. I have a question. I am working on our s

RE: "Dynamic" CSS

2007-09-10 Thread Bruce Sorge
Well this is all good stuff guys. Thanks. This gives me some things to try out. Bruce -Original Message- From: Jim Davis Sent: Monday, September 10, 2007 7:07 PM To: CF-Talk Subject: RE: "Dynamic" CSS If you're comfortable with client-script you can easily apply the

RE: "Dynamic" CSS

2007-09-10 Thread Jim Davis
> -Original Message- > From: Andy Matthews [mailto:[EMAIL PROTECTED] > Sent: Monday, September 10, 2007 3:08 PM > To: CF-Talk > Subject: RE: "Dynamic" CSS > > Better to ask CF to render multiple files than have to manage multiple > versions of each fil

RE: "Dynamic" CSS

2007-09-10 Thread Eric Roberts
You could also put the style block in the application.cfm and then use variables for the colors. Eric -Original Message- From: Bruce Sorge [mailto:[EMAIL PROTECTED] Sent: Monday, September 10, 2007 12:00 PM To: CF-Talk Subject: "Dynamic" CSS Good morning everyone. I have a q

RE: "Dynamic" CSS

2007-09-10 Thread Andy Matthews
onday, September 10, 2007 1:50 PM To: CF-Talk Subject: RE: "Dynamic" CSS Bruce, >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 a

RE: "Dynamic" CSS

2007-09-10 Thread Dan G. Switzer, II
Bruce, >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 l

Re: "Dynamic" CSS

2007-09-10 Thread Ben Doom
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 fil

RE: "Dynamic" CSS

2007-09-10 Thread Andy Matthews
Just link to a css page like so: Works a treat. -Original Message- From: Barney Boisvert [mailto:[EMAIL PROTECTED] Sent: Monday, September 10, 2007 12:09 PM To: CF-Talk Subject: Re: "Dynamic" CSS You could pass .css files through the CF interpreter, but then you'd lo

Re: "Dynamic" CSS

2007-09-10 Thread Pete Ruckelshaus
I serve .cfm files as linked stylesheets all the time. i.e. It might be your best/most flexible option. On 9/10/07, Bruce Sorge <[EMAIL PROTECTED]> 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

RE: "Dynamic" CSS

2007-09-10 Thread Jake Churchill
, September 10, 2007 12:00 PM To: CF-Talk Subject: "Dynamic" CSS 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 attri

Re: "Dynamic" CSS

2007-09-10 Thread Barney Boisvert
You could pass .css files through the CF interpreter, but then you'd lose the benefits of static files (caching, direct serving, etc.). The easiest solution (and the one I'd pick) is probably to just write that one background-color attribute into the page directly with a STYLE tag. Short of that,

"Dynamic" CSS

2007-09-10 Thread Bruce Sorge
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

RE: CF to make Dynamic CSS

2004-10-20 Thread Ewok
Nice trick! -Original Message- From: Paul Vernon [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 20, 2004 1:44 PM To: CF-Talk Subject: RE: CF to make Dynamic CSS We do this. Firstly we created a file mapping called cssx which maps to CF server in IIS then we save out our css with

Re: CF to make Dynamic CSS

2004-10-20 Thread Keith Gaughan
if you're > already using a dynamic CSS file. Or better, 'cause you won't end up wasting as much bandwidth: And don't forget to set the correct MIME type in the headers in the generated stylesheet. Alternatively, you cold do: <!--- Stuff that changes goes here. --

RE: CF to make Dynamic CSS

2004-10-20 Thread Paul Vernon
requests for files with the cssx extension and allows you to have dynamic css. Paul ~| Sams Teach Yourself Regular Expressions in 10 Minutes by Ben Forta http://www.houseoffusion.com/banners/view.cfm?bannerid=40 Message: http

Re: CF to make Dynamic CSS

2004-10-20 Thread Massimo, Tiziana e Federica
> I'm trying to think of a way to change values in a css file using CF. How can I write > to a css file? Any thoughts? You can serve a .cfm as CSS, just add the proper mime-type: body{ font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: #url.size#px; } Be aware that browser

Re: CF to make Dynamic CSS

2004-10-20 Thread Barney Boisvert
with your LINK tag, rather than referencing a CSS file, reference a CFM file that just happens to generate valid CSS. Or, an easier solution is to just emebed the CSS directly in the page. You're not going to lose anything by doing it this way if you're already using a dynamic CSS fil

CF to make Dynamic CSS

2004-10-20 Thread coldfusion . developer
I'm trying to think of a way to change values in a css file using CF. How can I write to a css file? Any thoughts? D ~| Sams Teach Yourself Regular Expressions in 10 Minutes by Ben Forta http://www.houseoffusion.com/banners/v