Re: removal of menu bar on homepage help

This is either a very strange question or I have totally misunderstood.You must have known how to do this in order to get the menu in the top bar in the first place

This isn't a Rails question it's a css/html question.

You placed your links in a div called nav right?You just need to style the nav div in your style sheet so that it lives where you want it to live.Then you wrap your links into ul li tags so that they showe vertically instead of horizontally then add the styling for that in your style sheet for the ul/li tags so the lines look the way you want them to look.

Sorry if I have totally misunderstood.

What you want and what you need are too often not the same thing!When your head is hurting from trying to solve a problem, stop standing on it. When you are the right way up you will see the problem differently and you just might find the solution.(Quote by me 15th July 2009)

Re: removal of menu bar on homepage help

Aqua,BasicMind's solution is perfectly correct and was an illustration to you of how to use the solution I gave you in my first response.

Are you sure you implemented it properly?

We are talking about HTML and CSS styling here.What you put inside the HTML tags is totally up to you.All erb tags do is generate HTML for you so you don't have to bother.Why don't you fix your erb tags and then come back because I'm certain that if you can't get this very basic stuff right you are going to need more help.

Last edited by jamesw (2009-08-26 12:12:06)

What you want and what you need are too often not the same thing!When your head is hurting from trying to solve a problem, stop standing on it. When you are the right way up you will see the problem differently and you just might find the solution.(Quote by me 15th July 2009)

That gets your links into a list the way BasicMind showed you.Notice I have removed the p tags at the end of your links. That's just plain wrong.If you want to use P tags in your context then you should "wrap" each link in a P tag

There are many more W3C tutorials, all of which are superb as you would expect so have a good poke around on the w3c web site.

What you want and what you need are too often not the same thing!When your head is hurting from trying to solve a problem, stop standing on it. When you are the right way up you will see the problem differently and you just might find the solution.(Quote by me 15th July 2009)

Re: removal of menu bar on homepage help

I forgot to mention.Once you have the above sorted you will probably want to move your menu out of the heading and into a sidebar.You will need to create another div in your layout for this.In fact I would move the menu out of the layout and into it's own view then you can render it wherever you want.I assume this is some kind of course project?

What you want and what you need are too often not the same thing!When your head is hurting from trying to solve a problem, stop standing on it. When you are the right way up you will see the problem differently and you just might find the solution.(Quote by me 15th July 2009)