In my layout, I have something like (shortened for clarity):<%= stylesheet_link_tag "index", :media => "all" %>
A view action has another stylesheet defined in the opening line such
<%= stylesheet_link_tag “view_posts”, :media => “all” %>
The layout has the appropriate stylesheet for common layout features.
actions each have their own stylesheets so that the main stylesheet
2000 lines long. Now, the problem is that when I include a
link tag in the top of my action view, essentially that css definition
in a div tag on the overall page. The validator gives me a warning
this, but it does work. I’m sure there must be a more appropriate way
handle this, but I’m not sure what it might be. Any suggestions?