Removing link underline and colour

Discussion in 'CSS' started by Old_Man, Jan 16, 2009.

  1. #1
    I have been trying to put links on the menu at the bottom of my web pages. You can see what I mean at www.leicesterhosting.com/cpanel.html

    My problem is when I define these as links they change colour to blue and are underlined. The menu items are defined as .footer in the CSS file

    I was wondering if it is possible to change the CSS, so that only these links are affected: This is what I tried with no joy.

    .footer {
    	font-family: Arial, Helvetica, sans-serif;
    	font-size: 11px;
    	font-weight: bold;
    	color: af0202;
    	text-align: center;
    	cursor: hand;
    	page-break-before: auto;
    	page-break-after: auto;
    	text-decoration: none; (added this)
    	
    }
    Code (markup):
    Can anyone suggest how I can keep the menu items the original colour (after clicking as well) and remove the underlines just for these items?


    Cheers
     
    Old_Man, Jan 16, 2009 IP
  2. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #2
    .footer a {
      color: black;  /*or whichever color you prefer*/
      text-decoration: none;
      }
    Code (markup):
    cheers,

    gary
     
    kk5st, Jan 16, 2009 IP
  3. Old_Man

    Old_Man Peon

    Messages:
    29
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks for that. Much appreciated, i new it was something simple but I was pulling my hair out trying to sus it. Thanks once again
     
    Old_Man, Jan 16, 2009 IP