PDA

View Full Version : AnLink Vertical Menu - Font Styling help required



basils57
07-08-2007, 04:59 PM
1) Script Title: AnyLink Vertical Menu

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/anylinkvertical.htm

3) Describe problem: Hi Folks

I'm quite a newbie to menus, but have managed to organise this menu for my requirements with the following exception:

How do I change the color of the menu listing from blue, and how can I remove the underline from it?

Although probably a very basic question I would appreciate advice on how to achieve this.

jscheuer1
07-09-2007, 04:21 AM
What's the menu listing? If you mean this:


<ul class="navlist">
<li><a href="http://www.dynamicdrive.com">Dynamic Drive</a></li>
<li onMouseover="dropdownmenu(this, event, menu2, '150px')" onMouseout="delayhidemenu()"><a href="http://www.javascriptkit.com">JavaScript Kit</a> <span style="position: relative; left: 30px">></span></li>
<li><a href="http://www.cssdrive.com">CSS Drive</a></li>
<li><a href="http://www.codingforums.com">Coding Forums</a></li>
</ul>

Add whatever valid css you like to the sample style definitions, ex (in red below):


/* Sample CSS definition for the example list. Remove if desired */
.navlist li {
list-style-type: square;
width: 135px;
background-color: #FFFFB9;
}
.navlist li a {
color:#444444;
text-decoration:none;
}


If you mean some other part of the markup, all you need to do is select it in the stylesheet (if it isn't already selected in the demo styles), and add the desired property/value style pairs.

basils57
07-09-2007, 03:25 PM
Hi John & thanks for the comments.

I have now managed to sort this out and much appreciate your help.