<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Rails Forum - Ruby on Rails Help and Discussion Forum - Firefox failing to load CSS via "content_for".]]></title>
		<link>http://railsforum.com/viewtopic.php?id=40702</link>
		<description><![CDATA[The most recent posts in Firefox failing to load CSS via "content_for"..]]></description>
		<lastBuildDate>Thu, 02 Sep 2010 20:57:03 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Firefox failing to load CSS via "content_for".]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=130351#p130351</link>
			<description><![CDATA[<p>should be:<br /></p><div class="codebox"><pre><code>&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;/stylesheets/signupandlogin.css&quot;&gt;</code></pre></div><p>text/css not text/rss</p>]]></description>
			<author><![CDATA[dummy@example.com (agm_ultimatex)]]></author>
			<pubDate>Thu, 02 Sep 2010 20:57:03 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=130351#p130351</guid>
		</item>
		<item>
			<title><![CDATA[Firefox failing to load CSS via "content_for".]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=130298#p130298</link>
			<description><![CDATA[<p>Well, failing to load is not entirely accurate. The CSS loads, but it isn&#039;t applied.</p><p>Have a Rails (v 2.3.8) site with various sections. There is a master CSS file, and then I also pull in stylesheets specific to certain sections. So, for example, the main template file loads the main CSS file, and then an internal page has;</p><div class="codebox"><pre><code>&lt;% content_for :head do %&gt;
&lt;link rel=&quot;stylesheet&quot; type=&quot;text/rss&quot; href=&quot;/stylesheets/signupandlogin.css&quot;&gt;
&lt;% end %&gt;</code></pre></div><p>To load an additional CSS file.</p><p>This works fine in Chrome and Safari (haven&#039;t reached IE testing stage yet).</p><p>In Firefox (v 3.6.8, Mac OSX), none of the styling from the additional CSS file is applied. Checking the rendered source code, the CSS file *is* loaded (it appears fine in the head section of the document), it just isn&#039;t applied. It&#039;s not a CSS issue itself - as if I copy &quot;signupandlogin.css&quot; and paste it directly at the bottom of the main CSS file, then everything works fine.</p><p>Any ideas why this is occurring?</p>]]></description>
			<author><![CDATA[dummy@example.com (fogofeternity)]]></author>
			<pubDate>Thu, 02 Sep 2010 12:10:51 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=130298#p130298</guid>
		</item>
	</channel>
</rss>
