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

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
60e38de043848f82392062088f191213?d=identicon&s=25 HOGANBP (Guest)
on 2005-11-23 15: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.