padding-left & links

Discussion in 'CSS' started by somody, Jun 23, 2007.

  1. #1
    I was just curious about why the margin of link made by this...

    a
    {
        font-family:Calibri, Sans-Serif;
        color:White;
        font-weight:bold;
        font-size:15pt;
    }
    
    a.option
    {
        text-decoration:none;
        padding-left:50px;
    }
    Code (markup):
    ...is also clickable. Can I get rid of that? See http://somody.shootdog.com (the bottom) for an example.
     
    somody, Jun 23, 2007 IP
  2. ektz

    ektz Active Member

    Messages:
    599
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    80
    #2
    i'm sorry to say, i didn't understand the question.

    in the code shown above, a.option tag declares the selector class "option" for the links. what does it have to do with "being clickable", i wonder.
     
    ektz, Jun 23, 2007 IP
  3. somody

    somody Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Oh, I'm sorry that I didn't make it clear. If you look at somody.shootdog.com, you can see at the bottom of the page the list of a.options. I'm just curious why the margin is also a link now, rather than just the text.
     
    somody, Jun 24, 2007 IP