7 Replies Latest reply: Nov 14, 2010 12:32 PM by chethrington RSS

    dotted line around links?

    pjam55 Community Member
      when you click on the links on my pages when viewed in a browser it always leaves a dotted line box around the link which stays until you click away from the page, i.e. the background. Is there a way I can stop this?
        • 1. Re: dotted line around links?
          Newsgroup_User Community Member
          pjam55 wrote:
          > when you click on the links on my pages when viewed in a browser it always
          > leaves a dotted line box around the link which stays until you click away from
          > the page, i.e. the background. Is there a way I can stop this?
          >

          Thats what happens to all links. There used to be a link scrubber I
          think, but its something you get used to.

          Steve
          • 2. Re: dotted line around links?
            raularenas
            I'm not sure but if the link is an image, try entering a zero "0" in the border field under properties.
            • 3. dotted line around links?
              matmonkfish
              I found this problem too, apparently it is a firefox thing. add this property to the CSS attributes for your link

              -moz-outine

              and set it to 'none'

              this should fix it...it is a small thing, but i found it annoying.
              • 4. Re: dotted line around links?
                pjam55 Community Member
                Hmmm! funny never really noticed that all links do that but your'e right, we only see what we want to see. I feel OK about it now I thought it was just mine.
                • 5. Re: dotted line around links?
                  Newsgroup_User Community Member
                  .oO(pjam55)

                  >when you click on the links on my pages when viewed in a browser it always
                  >leaves a dotted line box around the link which stays until you click away from
                  >the page, i.e. the background. Is there a way I can stop this?

                  Try to navigate your site without a mouse and you will realise that this
                  outline is an important accessibility feature in most browsers.

                  Micha
                  • 6. Re: dotted line around links?
                    Newsgroup_User Community Member
                    > when you click on the links on my pages when viewed in a browser it always
                    > leaves a dotted line box around the link which stays until you click away
                    > from
                    > the page, i.e. the background. Is there a way I can stop this?

                    It's more than mere aesthetics.

                    It's called a "focus rectangle" and it's an accessibility feature of modern
                    browsers to show those who are navigating your site with a keyboard where
                    the focus is on the page e.g. if the dots appear on the Submit button the
                    user knows that pressing Enter will submit the form.

                    --
                    Regards

                    John Waller


                    • 7. Re: dotted line around links?
                      chethrington

                      It's not an issue in Dreamweaver per se, but a way that some browsers interpret those links. There is an easy CSS fix for this (url below, for thorough explanation). Basically you just need to put the following code into your CSS file:

                       

                      a:active {
                        outline: none;
                      }

                      Here's the link for more info:

                      http://sonspring.com/journal/removing-dotted-links

                       

                      Now if we can just figure out how to get rid of them in Acrobat PDF files where an audio link has been created... UGGG!