Forum: Ruby on Rails RE: Re: Easy Question : Linking to CSS from view/.rthml file

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
on 2005-11-23 16:33
(Received via mailing list)
Best put this in your layout file though..... Or you risk creating
malformed HTML.... XHTML does not like stylesheet links outside of the
<head> tags on a page.

Malformed HTML leads to anger.... Anger leads to hate.... Hate leads to
suffering on many browsers.

Is it possible that your controller does not have a layout associated
with it and that's why you're not seeing the css?
This topic is locked and can not be replied to.