Technical Discussion
  >> Web Design / HTML / Web hosting Forum


Register (or login) on our website and you will not see this ad.


  Print Thread
Standard User boxst
(fountain of knowledge) Mon 06-Feb-12 11:33:18
Print Post

Help with Left Hand Menus


[link to this post]
 
I used to be pretty good at designing websites but, well, haven't done it for years and have forgotten! So I'm looking for some help.

I just want a left hand menu with several options that change colour as you hover over them (I can do that bit more or less) but if there are sub-options I would like them to appear. There appears to be a plethora of methods on Google, and I'd just like a very simple piece of code I can modify.

Any help?

Thanks,

Steve
Standard User camieabz
(sensei) Mon 06-Feb-12 13:01:02
Print Post

Re: Help with Left Hand Menus


[re: boxst] [link to this post]
 
Simple code for menu:

<ul>
<li><a href="http://www.yourdomain.com/" title="Home">Home</a></li>
<li><a href="http://www.yourdomain.com/about.html" title="About">About</a></li>
<li><a href="http://www.yourdomain.com/contact.html" title="Contact">Contact</a></li>
</ul>

Then you need to surround t with a div, position and size the div with css, colour the links, hover, visited, font type, font size. Use 'list-style:none;' to remove the bullets and so on.

Basic inline css code (put in head section of webpage):

<style type="text/css">
ul {list-style:none;}
</style>

~~~~~~~~~~


© Camieabz 2002-2012

All Connection Data ~ plusnet

Scottish Labour politician: “The SNP are on a very dangerous tack. What they are doing is trying to build up a situation in Scotland where the services are manifestly better than south of the border in a number of areas.”

Interviewer: ”Is that a bad thing?”

Scottish Labour politician: “No, but they are doing it deliberately.”
Standard User ilh
(fountain of knowledge) Mon 06-Feb-12 14:32:00
Print Post

Re: Help with Left Hand Menus


[re: boxst] [link to this post]
 
I would just use one that appears in a google search - try and get a fairly recent one though as the CSS used for some of them is a lot more refined. I recently wanted a horizontal top menu and took bits from 2 different methods to get what I wanted.

~ilh

The sooner you get behind, the longer you have to catch up.

Edited by ilh (Mon 06-Feb-12 14:32:21)


Register (or login) on our website and you will not see this ad.

  Print Thread

Jump to