<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Rails Forum - Ruby on Rails Help and Discussion Forum - background-image problem]]></title>
		<link>http://railsforum.com/viewtopic.php?id=31732</link>
		<description><![CDATA[The most recent posts in background-image problem.]]></description>
		<lastBuildDate>Sun, 14 Jun 2009 20:20:05 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[background-image problem]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=100713#p100713</link>
			<description><![CDATA[<p>Ive set a background-image to repeat-x in my &lt;body&gt;, it looks as it should but it overrides my wrapper div&#039;s style. Im going crazy over this.</p><p>How can I get it to load my other div&#039;s (incl. wrapper) styles without losing the background-image?<br />If I remove the background-image line the site looks as it should but without the background-image</p><p><pre name="code" class="ruby:nogutter">body { <br />&nbsp; &nbsp; color:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; #00FFFF;<br />&nbsp; &nbsp; background-color:&nbsp; &nbsp; #333333;<br />&nbsp; &nbsp; background-image: &nbsp; &nbsp; url(&quot;header-bg.gif&quot;); background-repeat: repeat-x;}<br />&nbsp; &nbsp; font-size: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1em;<br />&nbsp; &nbsp; font-family:&nbsp; &nbsp; &nbsp; &nbsp; verdana;<br />&nbsp; &nbsp; text-align:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; center;<br />&nbsp; &nbsp; padding:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0;<br />&nbsp; &nbsp; margin:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0;<br />}</p><p>#wrapper {<br />&nbsp; &nbsp; width:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 80em;<br />&nbsp; &nbsp; height:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 16em;<br />&nbsp; &nbsp; background-color:&nbsp; &nbsp; #FFF;<br />&nbsp; &nbsp; margin-right: &nbsp; &nbsp; &nbsp; &nbsp; auto; <br />&nbsp; &nbsp; margin-left: &nbsp; &nbsp; &nbsp; &nbsp; auto;<br />}</pre><br /><pre name="code" class="ruby:nogutter">&lt;body&gt;<br />&nbsp; &lt;div id=&quot;wrapper&quot;&gt;<br />&nbsp; &lt;/div&gt;&nbsp; &nbsp; &nbsp; &nbsp; <br />&lt;/body&gt;</pre><br />EDIT: Ignore this post: My lovely friend spotted that stupid curly bracket at the end of the background-image row. God.</p>]]></description>
			<author><![CDATA[dummy@example.com (mdc)]]></author>
			<pubDate>Sun, 14 Jun 2009 20:20:05 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=100713#p100713</guid>
		</item>
	</channel>
</rss>
