Marshal Linfoot wrote:
Chris, I hope this is what you had in mind...a slimmed down version of
what I currently use for the live site.

Not quite. That looks like a regular html page and not a css one. To create what I was talking about, do the following:

  1. Create a new template\
         * Name it: CSS
         * Expand the "more" button and change the content-type to:
         * In the body of the layout, put nothing but: <r:content>
         * save the layout
  2. Go to your "tester" page and change its layout to: CSS

This should serve up your "tester" page using "text/css" mime type and without all the header/footer layout stuff.


"stylesheet" layout template with "<r:content>" and a content-type of "text/css"
A "styles" page that uses the "stylesheet" template, and child page
"test" with slug "test.css"
Simple layout template called "test" with <link
href="/styles/test.css" rel="stylesheet" type="text/css" /> to use css
the old-fashioned way
Simple page called "tester" that uses the "test" layout template.

View the rendered page at

PS. How do you see all the HTTP response headers?

On Wed, Jul 23, 2008 at 6:10 PM, Chris Parrish
As you mentioned, the full file is being served up but the response
 RESPONSE:  HTTP/1.1 404 Not Found

That has to be the problem but what is the cause?

Anybody know enough about LightSpeed to know if this is a server issue
(mime-type config, perhaps)?

In the meantime, can you create a CSS page the old-fashioned way (build a
template with just "<r:content>" and a content-type of "text/css" then
create a regular old page that uses that layout)?  I'd like to know what its
headers look like (does it come up with a 200 like your home page or 404
like the stylesheets).  That may tell us if it is server related or not.


Radiant mailing list

Reply via email to