Re: [Radiant] How to add css styles to a website?

2006-09-24 Thread Tino Breddin
2006/9/20, John W. Long [EMAIL PROTECTED]: It's probably better to create a layout with a content type of text/css and put just the tag r:content / in the layout. Then create a page, assign the layout, and paste your css in the body part. Well, i figured out how to apply css to one page, but

Re: [Radiant] How to add css styles to a website?

2006-09-22 Thread Mislav Marohnić
On 9/21/06, Jim Gay [EMAIL PROTECTED] wrote: One of the main benefits of using CSS in general is that its cached locally in the user's browser. On the first visit there is some overhead, but subsequently (if its is acting properly) the browser shouldn't request a new stylesheet if it has one of

Re: [Radiant] How to add css styles to a website?

2006-09-22 Thread John W. Long
Mislav Marohnić wrote: This is true, when the file is served by the server. It sets the appropriate headers. Has anyone even inspected HTTP headers sent by a Radiant response? There is no Cache-Control header, no Expires, Last-modified or Etag, too. Yes, the browser will cache such kind of

Re: [Radiant] How to add css styles to a website?

2006-09-22 Thread Mislav Marohnić
On 9/22/06, John W. Long [EMAIL PROTECTED] wrote: I'd appreciate a patch that addressed these issues.Deal! I kinda fell in love with Radiant in the past few days (evaluating it) so it will be a pleasure.Be patient, because I'm still studying hard for college. A week from now and I'll get to it.

Re: [Radiant] How to add css styles to a website?

2006-09-21 Thread Tino Breddin
Hi,thank for your help. I will test which method fits to me, probably editing the css file with my editor.Bye,Tino ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site:

Re: [Radiant] How to add css styles to a website?

2006-09-21 Thread Giovanni Intini
2006/9/20, John W. Long [EMAIL PROTECTED]: Giovanni Intini wrote: Create a layout with content type text/css and paste your css code there.It's probably better to create a layout with a content type oftext/css and put just the tag r:content / in the layout. Then create a page, assign the layout,

Re: [Radiant] How to add css styles to a website?

2006-09-21 Thread Mislav Marohnić
On 9/20/06, John W. Long [EMAIL PROTECTED] wrote: Giovanni Intini wrote: Create a layout with content type text/css and paste your css code there.It's probably better to create a layout with a content type oftext/css and put just the tag r:content / in the layout. Then create a page, assign the

Re: [Radiant] How to add css styles to a website?

2006-09-21 Thread Sean Cribbs
What would that accomplish? Part of the point of having it in Radiant is that it can be edited at a moment's notice, without worrying about file permissions yada yada yada. Personally, I think it would be a slippery slope to allow Radiant users to edit files in the filesystem. Sean

Re: [Radiant] How to add css styles to a website?

2006-09-21 Thread Tom von Schwerdtner
On 9/21/06, Sean Cribbs [EMAIL PROTECTED] wrote: What would that accomplish? Part of the point of having it in Radiant is that it can be edited at a moment's notice, without worrying about file permissions yada yada yada. Personally, I think it would be a slippery slope to allow Radiant

Re: [Radiant] How to add css styles to a website?

2006-09-21 Thread Dave Crossland
On 20/09/06, John W. Long [EMAIL PROTECTED] wrote: Giovanni Intini wrote: Create a layout with content type text/css and paste your css code there. It's probably better to create a layout with a content type of text/css and put just the tag r:content / in the layout. Then create a page,

Re: [Radiant] How to add css styles to a website?

2006-09-21 Thread John W. Long
John Tsombakos wrote: Except this is a problem if you want to have your site in a subdirectory (which is biting me). This will try to serve up mysite.com/stylesheets/styles.css and not mysite.com/radiant/stylesheets/styles.css. (unless someone knows the Apache magic to make it work) Just

Re: [Radiant] How to add css styles to a website?

2006-09-20 Thread Bodhi
On Sep 21, 2006, at 6:42 AM, Tino Breddin wrote: Hi, i began to have a look into radiant and wonder in which way i should include my css styles to my website? Obviously i could simply link the css file in the layout, but then i could not edit it in the web interface. Should i save my css