Results 1 to 2 of 2

Thread: css?

  1. #1

    css?

    Ok, i didn't know where else to go to ask this question.

    I'm working on this website and i'm just starting my css on it. I have never really done css before.

    This is my css code, and once i show this i'll tell you what the problem is.

    <html>
    <head>
    <style type=text/css>
    A {
    font-weight: bold;
    color: #FF8040;
    text-decoration: none;
    }
    A:hover {
    text-decoration: underline;
    color: #626c82;
    }
    A.menu {
    color: #3EC8F3;
    text-decoration: none;
    font-weight: normal;
    font-size: 8pt;
    }
    </style>
    </head>

    Ok, i have a menubar with links on it then i have the rest of the page.

    All the links on the rest of the page can be any color id ont' care. But, the menu bar i would like to specifiy the color.. (notice the class menu)

    However, when i do <span class=menu><a links>links yoda whatever</a></span>

    However, inside the span it still uses the a.link colors. and not the a.menu colors.

    Any ideas?

    Thank you for your help
    Anthony

  2. #2

    Re:css?

    Anthony,

    As far as I know you have to put the class=menu inside the the a href. Like this:
    Code:
    <a href=http://ww.mapleave.net class=menu>My Home</a>
    That should work the way you want it to. Let me know if it doesn't.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •