<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Rails Forum - Ruby on Rails Help and Discussion Forum - Creating a Vertical navigation block]]></title>
		<link>http://railsforum.com/viewtopic.php?id=34046</link>
		<description><![CDATA[The most recent posts in Creating a Vertical navigation block.]]></description>
		<lastBuildDate>Wed, 26 Aug 2009 20:02:24 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Creating a Vertical navigation block]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=107441#p107441</link>
			<description><![CDATA[<p>This question has nothing to do with Rails views, it&#039;s purely about HTML and CSS.</p><p>Therefore, i move it into the XHTML/CSS/JavaScript forum. Please post such questions there next time.</p>]]></description>
			<author><![CDATA[dummy@example.com (Duplex)]]></author>
			<pubDate>Wed, 26 Aug 2009 20:02:24 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=107441#p107441</guid>
		</item>
		<item>
			<title><![CDATA[Re: Creating a Vertical navigation block]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=107437#p107437</link>
			<description><![CDATA[<p>Aqua,<br />I have responded to your other post<br /><a href="http://railsforum.com/viewtopic.php?pid=107426#p107426">http://railsforum.com/viewtopic.php?pid=107426#p107426</a></p>]]></description>
			<author><![CDATA[dummy@example.com (jamesw)]]></author>
			<pubDate>Wed, 26 Aug 2009 18:46:29 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=107437#p107437</guid>
		</item>
		<item>
			<title><![CDATA[Creating a Vertical navigation block]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=107432#p107432</link>
			<description><![CDATA[<p>I have managed to make my links vertical / underneath each other, how would&nbsp; go about getting a border around them here<br /> is my application view code and css code:</p><p>&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; <br />&quot;<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd</a>&quot;&gt;<br />&nbsp; &nbsp; <br />&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;<br />&nbsp; &lt;head&gt;<br />&nbsp; &nbsp; &lt;title&gt;&lt;%= @title %&gt;&lt;/title&gt;<br />&nbsp; &nbsp; &lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html;charset=UTF-8&quot; /&gt;<br />&nbsp; &nbsp; &lt;%= stylesheet_link_tag &#039;default&#039; %&gt;<br />&nbsp; &lt;/head&gt;<br />&nbsp; &lt;body&gt;<br />&nbsp; &nbsp; &lt;div id=&quot;page&quot;&gt;<br />&nbsp; &nbsp; &nbsp; &lt;div id=&quot;header&quot;&gt;Kingston Direct&lt;/div&gt;<br />&nbsp; &nbsp; &nbsp; &lt;div id=&quot;nav&quot;&gt;<br />&nbsp; &nbsp; &nbsp; &lt;div class=&quot;content_box&quot;&gt;<br />&nbsp; &nbsp; &nbsp; &lt;ul class=&quot;menu&quot;&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;%= link_to_unless_current &quot;Home&quot;,&nbsp; :controller =&gt; &quot;site&quot;, <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; :action =&gt; &quot;index&quot; %&gt;&lt;p/&gt;&nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;%= link_to_unless_current &quot;About&quot;, :controller =&gt; &quot;site&quot;, <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; :action =&gt; &quot;about&quot; %&gt;&lt;p/&gt; <br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;%= link_to_unless_current &quot;Help&quot;,&nbsp; :controller =&gt; &quot;site&quot;, <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; :action =&gt; &quot;help&quot; %&gt;&lt;p/&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp;&lt;/ul&gt;<br />&nbsp; &nbsp; &nbsp; &lt;/div&gt;<br />&nbsp; &nbsp; &nbsp; &lt;div id=&quot;content&quot;&gt;<br />&nbsp; &nbsp; &nbsp; &lt;%= yield %&gt;<br />&nbsp; &nbsp; &nbsp; &lt;/div&gt;<br />&nbsp; &nbsp; &lt;/div&gt;<br />&nbsp; &lt;/body&gt;<br />&lt;/html&gt;</p><p>What do I adjust in my css code to get a navigation block around my links and to the left side of the page</p><p>body <br />{<br />&nbsp; font: normal small Arial, Verdana, Helvetica, sans-serif;<br />&nbsp; font-size: 12pt;<br />&nbsp; &nbsp; background: #fffdda;;<br />&nbsp; &nbsp; margin: 0;<br />&nbsp; &nbsp; padding: 0;<br />&nbsp; &nbsp; text-align: left;<br />}<br />#page<br />{<br />&nbsp; &nbsp; position: relative;<br />&nbsp; &nbsp; top: 0px; <br />&nbsp; &nbsp; left: 250px;<br />&nbsp; &nbsp; width: 800px;<br />&nbsp; &nbsp; text-align: left;<br />&nbsp; &nbsp; border: solid black 4px;<br />}<br />#header <br />{<br />&nbsp; &nbsp; height: 110px;<br />&nbsp; &nbsp; background: url(&quot;http://rubyonrails.org/images/rails.png&quot;) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; maroon no-repeat 16px 16px;<br />&nbsp; &nbsp; color: White;<br />&nbsp; &nbsp; font-size: 64pt;<br />&nbsp; &nbsp; font-weight: 900;<br />&nbsp; &nbsp; padding: 16px 16px 16px 120px;<br />}<br />#content <br />{<br />&nbsp; &nbsp; background: yellow;<br />&nbsp; &nbsp; padding: 1em;<br />&nbsp; &nbsp; text-align: left;<br />}<br />#nav<br />{<br />&nbsp; &nbsp; background: #ececec;<br />&nbsp; &nbsp; font-weight: bold;</p><p>}<br />#nav a<br />{<br />&nbsp; &nbsp; color: Maroon;<br />&nbsp; &nbsp; text-decoration:none;<br />}</p>]]></description>
			<author><![CDATA[dummy@example.com (Aqua)]]></author>
			<pubDate>Wed, 26 Aug 2009 18:17:55 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=107432#p107432</guid>
		</item>
	</channel>
</rss>
