[cfaussie] Re: Dynamic CSS

2006-05-26 Thread Blair McKenzie
Kym makes a good point.The main advantage of external css files is the ability to cache the css and share it with other pages. And if caching is no longer part of the equation Carl, why have an external css at all? Why not just embed it in every page and avoid the whole issue? BlairOn 5/27/06, Kym

[cfaussie] Re: Dynamic CSS

2006-05-26 Thread Kym Kovan
Hi Carl, Coming in a bit late on this but responding to your last comment: Carl Vanderpal wrote: > So if I am still missing something please let me know..or if someone > has done this before by doing a > A major issue with dynamic style sheets is caching. Browsers cache style sheets by defau

[cfaussie] Re: Dynamic CSS

2006-05-26 Thread Carl Vanderpal
Sorry Gary but for some reason it does not keep its formatting..I tried your way but not only the images but also the colours get lost..So what I had to do was add to the top and bottom with cfoutput and I already ##'d everything and did a CFInclude in the head of document, and this now works.. Yo

[cfaussie] Re: Dynamic CSS

2006-05-26 Thread Gary Menzel
  The easiest way to create dynamic CSS using Coldfusion is to simply just point the tag at a CFM file.   You dont need to worry about content type as text is text.     Then - as Darryl has already pointed out - if you want to have CF inside the CFM file, you need to wrap the text in a .  IF the

[cfaussie] Re: Dynamic CSS

2006-05-26 Thread Carl Vanderpal
I have used in the includebody {background-color:##request.bodyBackgroundColour#;}and in the index.cfm file     request.bodyBackgroundColour = 'AAA'; CarlOn 5/26/06, darryl lyons <[EMAIL PROTECTED]> wrote: You will need the cfoutput in there...What is the output if you call it directly?Have you tr

[cfaussie] Re: Dynamic CSS

2006-05-26 Thread darryl lyons
You will need the cfoutput in there... What is the output if you call it directly? Have you tried not using @import? Darryl On 5/26/06, Carlos-Amigos <[EMAIL PROTECTED]> wrote: > > Hello CF Aussie, > > I am having some troubles with some dynamic css if someone can help, I > want the colours to

[cfaussie] Dynamic CSS

2006-05-26 Thread Carlos-Amigos
Hello CF Aussie, I am having some troubles with some dynamic css if someone can help, I want the colours to come from the database and not do a (if url.template eq) scenario, as I am thinking about having about 20 or 30 templates with all different colours.. I have tried putting in the aura_scr