Sascha Ebach
12/12/2004 4:22:00 AM
steven_todd_harris@yahoo.com wrote:
> I was trying to add a css file to my view in rails and I had some
> trouble figuring out where I should put the file. Should it be somewhere under
> public?
Yes. Everything accessible by the web browser should be in the public
dir. If you make a public/css dir and put a file called layout.css in it
you could do
<link rel="stylesheet" type="text/css" media="screen"
href="/css/layout.css" />
--
Sascha Ebach