# Re: Stylesheets

**URL:** <https://www.ruby-forum.com/t/re-stylesheets/101456>\
**Category:** Radiant CMS\
**Created:** [August 4, 2006, 10:22pm UTC](https://www.ruby-forum.com/t/re-stylesheets/101456 "2006-08-04T22:22:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Harvey\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/13edae/32.png) [@Harvey\_B](https://www.ruby-forum.com/u/Harvey_B)\
**Post date:** [August 4, 2006, 10:22pm UTC](https://www.ruby-forum.com/t/re-stylesheets/101456/1 "2006-08-04T22:22:20Z")

</div>

I’ve now tested by copying the static HTML and putting it into a layout  
file. Unfortunately, it still causes the same problem. Works fine as a  
simple static HTML file and pulls the right CSS but doesn’t work through  
radiant.

How do people handle CSS files in Radiant? Do most people put them in  
the DB or just as a stylesheet in the filesystem?

* * *

From: removed\_email\_address@domain.invalid  
[[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)] On Behalf Of Cory D  
Sent: 04 August 2006 20:11  
To: removed\_email\_address@domain.invalid  
Subject: Re: [Radiant] Stylesheets

this should work for IE 6 - it’s basically saying if less than IE 7,  
serve this stylesheet.

As to why it’s not working, i’m stumped as well.

-Cory

On 8/4/06, Nathan W. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Here is the issue, when I’m using IE6, radiant serves up the standard  
> stylesheet, not the specific IE6 version.

I never use conditional CSS statements myself, but wouldn’t you need  
to set a rule to specifically apply to IE6? As it is, you’ve only got  
a rule for IE7 …

–  
Nathan

* * *

Radiant mailing list  
removed\_email\_address@domain.invalid  
[http://lists.radiantcms.org/mailman/listinfo/radiant](http://lists.radiantcms.org/mailman/listinfo/radiant)

This e-mail has been scanned for all viruses by MessageLabs.

This e-mail has been scanned for all viruses by MessageLabs.

---

<div class="post-metadata">

**Author:** ![Harvey\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/13edae/32.png) [@Harvey\_B](https://www.ruby-forum.com/u/Harvey_B)\
**Post date:** [August 4, 2006, 10:46pm UTC](https://www.ruby-forum.com/t/re-stylesheets/101456/2 "2006-08-04T22:46:29Z")

</div>

I keep my CSS files in the filesystem … old habits die hard, and I  
like having them available for easy tweaking. I store them in  
/public/stylesheets and call them via

---

<div class="post-metadata">

**Author:** ![Harvey\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/13edae/32.png) [@Harvey\_B](https://www.ruby-forum.com/u/Harvey_B)\
**Post date:** [August 7, 2006, 5:06pm UTC](https://www.ruby-forum.com/t/re-stylesheets/101456/3 "2006-08-07T17:06:41Z")

</div>

Guys,

Thanks for all the help. Just in case anybody is interested, here is  
the  
code we ended up:-

\<![if !IE]\>  
@import  
“/stylesheets/style.css”;  
\<![endif]\>

```
<style type="text/css" media="print">@import

```

“/stylesheets/print.css”;

Thank you all  
Harvey

This e-mail has been scanned for all viruses by MessageLabs.

---

<div class="post-metadata">

**Author:** ![Harvey\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/13edae/32.png) [@Harvey\_B](https://www.ruby-forum.com/u/Harvey_B)\
**Post date:** [August 7, 2006, 10:04pm UTC](https://www.ruby-forum.com/t/re-stylesheets/101456/4 "2006-08-07T22:04:16Z")

</div>

I’m a Ubuntu user and just use Gnome’s Gedit, which can edit files  
remotely, so it’s easier for me to point to external files. The  
highlighting sucks though.
