Hogan, Brian P.
2005-Nov-23 14:29 UTC
RE: Re: Easy Question : Linking to CSS from view/.rthml files
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? -----Original Message----- From: rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org [mailto:rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Lou Vanek Sent: Wednesday, November 23, 2005 8:13 AM To: rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org Subject: [Rails] Re: Easy Question : Linking to CSS from view/.rthml files <%= stylesheet_link_tag "your_css_stylesheet" %> jonathan Mcintire wrote:> I copied a directory of views and noticed that the Scaffold.CSS > stylesheet didn''t add to my pages. Is there a way to manually link to > a style sheet?_______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails