Page 1 of 1

help!

Posted: Thu Jul 14, 2011 11:53 am
by Alvin1123
how do i create a menu in css

like i want the menu buttons to say

Home , forums , about me , forums

someone help?

Re: help!

Posted: Thu Jul 14, 2011 12:07 pm
by aravona
Well really its a case of having your links:

[text]
<a href="">Home</a> , <a href="">forums</a> , <a href="">about me</a>
[/text]

And then stylining the anchor tags. On a really basic level you can make a menu that changes on hover over.

Really though google is your friend for this, there are many searchable tutorials on how to make a menu with an unordered list:

[text]
<ul>
<li>
<a href="">Home</a>
</li>
<li>
<a href="">forums</a>
</li>
<li>
<a href="">about me</a>
</li>
</ul>
[/text]

With this you can then set the menu vertically or horizontally and then edit hover outs / sub menus etc.

Re: help!

Posted: Thu Jul 14, 2011 12:35 pm
by Alvin1123
that's html, not css.!

Re: help!

Posted: Thu Jul 14, 2011 12:39 pm
by aravona
Well you still fundamentally require HTML even when using CSS to create things. Google CSS menu and you will still require some html aspects.

If you do not have anchors, ul and li (for example) you have nothing for your CSS to refer to.

If you do not even know this, I suggest you look at the w3schools website.

CSS has to refer to something, it does not float magically onto the page it needs an ID or Class or HTML tag to refer to.

Re: help!

Posted: Thu Jul 14, 2011 1:20 pm
by Alvin1123
oh ok