Removing the dotted rectangle in FF

Discussion in 'HTML & Website Design' started by save-a-family, Nov 4, 2007.

  1. #1
    Hi everybody,

    I am not sure how to describe this so please bear with me. :)

    I am trying to remove the dotted rectangle that appears on FF when clicking a tab, a button, etc. I am attaching a picture with this post to show what I mean.

    Can anyone please let me know how that is done? I know that it is removable because I used to ask those I hire to remove it, but I am working on this alone now and trying to learn.

    Your help is really appreciated. Thanks a lot!

    [​IMG]
     
    save-a-family, Nov 4, 2007 IP
  2. live-cms_com

    live-cms_com Notable Member

    Messages:
    3,128
    Likes Received:
    112
    Best Answers:
    0
    Trophy Points:
    205
    Digital Goods:
    1
    #2
    Rather than using <img /> you could use <div style="background-image: url(image.jpg); height: 100px; width: 100px;"></div>. I'm not 100% sure that would work but it's worth a try.
     
    live-cms_com, Nov 4, 2007 IP
  3. save-a-family

    save-a-family Peon

    Messages:
    348
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks for the response live-cms. I am not using img now, my code looks like this: <a class="menu2" href="#legal" title="Learn">Legal</a>

    It happens with all the links I think. Here on DP clicking the username, the avator, or any other link produces the same effect. A dotted rectangle appears.
     
    save-a-family, Nov 4, 2007 IP
  4. save-a-family

    save-a-family Peon

    Messages:
    348
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Can anyone else help? :) Thanks in advance.
     
    save-a-family, Nov 4, 2007 IP
  5. save-a-family

    save-a-family Peon

    Messages:
    348
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Problem solved by applying ''outline: none;'' to links. Thanks live-cms for trying to help. :) Moderators you can lock this thread.
     
    save-a-family, Nov 4, 2007 IP