Underline removal

Discussion in 'HTML & Website Design' started by Borduhh, Sep 10, 2010.

  1. #1
    Hello All,

    I am trying to remove the underlines under the words in my index page category boxes. I only want to remove those underlines, not anywhere else.

    I have tried the following:
    categoryBlock a{
    text-decoration:none;
    }
    Code (markup):
    Any other suggestions?

    Thanks,
    Nick
     
    Borduhh, Sep 10, 2010 IP
  2. JJulian

    JJulian Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    categoryContainer a {
    text-decoration: none; }

    - Julie
     
    JJulian, Sep 10, 2010 IP
  3. rockyg

    rockyg Peon

    Messages:
    230
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I usually do the same for a:visted a:hover a:active if I got a whole pile of CSS going on, even though the above should cover it. Bad habit or wasted time on my part :p
     
    rockyg, Sep 10, 2010 IP
  4. Borduhh

    Borduhh Well-Known Member

    Messages:
    767
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    150
    #4
    I tried everything below that... but It worked like a charm :) Thanks alot
     
    Borduhh, Sep 10, 2010 IP
  5. infoman66

    infoman66 Peon

    Messages:
    58
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #5
    It can't be. Write style for a:link, a:visted, a:hover, a:active, new id or class and put in in the place.
     
    infoman66, Sep 11, 2010 IP