Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Multiple Header Anchor Tags?

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #41797
    mintertweed
    Participant

    ‘Allo everyone. I have an issue. I want to take this and make it so each word in the menu is a separate color. I currently have an anchor tag:

    a {
    font-size: 1em;
    outline: none;
    text-decoration: none;
    color: #00AEEF;
    }

    And it is what is creating the cyan blue. How do I divide each menu item up and apply a different color to each one? Here is the HTML code generating the menu:

    Thank you in advance!

    Edit: Sorry about the glitch with the menu-bar div. I apparently have to click “Code” twice for it to appear as code for all of you to see.

    #120103
    ooredroxoo
    Member

    The @joshuanhibbert example should work just fine.
    Just use the classes of the list itens on your css adding the anchor selector after as said by @joshuanhibbert and put the color that you want, the common properties as font-size, font-family and so on you can place on the `#mt-main-nav a` selector.

    #120123
    chrisburton
    Participant

    @mintertweed I had problems this morning with Wamp. Turned out that I deleted the “testmysql.php” file. Another common issue is Skype running while starting Wamp.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.