<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Rails Forum - Ruby on Rails Help and Discussion Forum - How to pass CSS class to a view output?]]></title>
		<link>http://railsforum.com/viewtopic.php?id=38069</link>
		<description><![CDATA[The most recent posts in How to pass CSS class to a view output?.]]></description>
		<lastBuildDate>Sat, 27 Mar 2010 14:35:01 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: How to pass CSS class to a view output?]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=121741#p121741</link>
			<description><![CDATA[<p>Oh! I wasn&#039;t aware of that!!<br />Thank you very much! <img src="http://railsforum.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (Demec)]]></author>
			<pubDate>Sat, 27 Mar 2010 14:35:01 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=121741#p121741</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to pass CSS class to a view output?]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=121740#p121740</link>
			<description><![CDATA[<p>I don&#039;t quite understand.<br />Are you saying that &lt;span class=&quot;something&quot;&gt; does not work because you have a css definition for all span tags? </p><p>if so you should be able to override that definition, in your css if you have this<br /></p><div class="codebox"><pre><code>span {
  font-size: 10px;
}</code></pre></div><p>you can still add more specific css class definition<br /></p><div class="codebox"><pre><code>span {
  font-size: 10px;
}

span.something {
  font-size: 16px;
}</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (house9)]]></author>
			<pubDate>Sat, 27 Mar 2010 14:33:54 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=121740#p121740</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to pass CSS class to a view output?]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=121699#p121699</link>
			<description><![CDATA[<p>yes i just wanted to pass it in the code because my span class has assigned different values in my css and wanted something diferrent here and &lt;span class=&quot;something&gt; does not work cause i declared it in my body span above!</p>]]></description>
			<author><![CDATA[dummy@example.com (Demec)]]></author>
			<pubDate>Fri, 26 Mar 2010 20:48:53 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=121699#p121699</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to pass CSS class to a view output?]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=121686#p121686</link>
			<description><![CDATA[<p>I think you need to manually wrap it in a span tag?<br /></p><div class="codebox"><pre><code>&lt;%= store.address_line_1 %&gt; 
# renders in the browser =&gt; 123 Main St.</code></pre></div><p>there is no &#039;tag&#039; to add the css class to, so you need to add your html tags manually?<br /></p><div class="codebox"><pre><code>&lt;span class=&quot;store_manager&quot;&gt;
  &lt;%= store.address_line_1 %&gt;
&lt;/span&gt; 
# renders in the browser =&gt; &lt;span class=&quot;store_manager&quot;&gt;123 Main St.&lt;/span&gt;</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (house9)]]></author>
			<pubDate>Fri, 26 Mar 2010 18:35:42 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=121686#p121686</guid>
		</item>
		<item>
			<title><![CDATA[How to pass CSS class to a view output?]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=121684#p121684</link>
			<description><![CDATA[<p>How can I pass a CCS class to this ouput ?</p><p>&lt;%= store.address_line_1 %&gt;</p><p>I tried several things like: &lt;%= store.address_line_1, :class =&gt; :store_manager %&gt;<br />but not working!</p>]]></description>
			<author><![CDATA[dummy@example.com (Demec)]]></author>
			<pubDate>Fri, 26 Mar 2010 17:53:14 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=121684#p121684</guid>
		</item>
	</channel>
</rss>
