For instance, a couple weeks ago I was in a Barnes & Noble and picked up a CSS book. After flipping to random page, I found a CSS property I didn't know existed: outline. When used in this way:
a { outline: none; }the outline you see after clicking on a link no longer displays.
This is particularly helpful in Firefox, because for absolutely positioned links, the outline often stretches to the far left side of the page, which drove our QA person nuts. Previously, I was fixing this behavior by using overflow:hidden, but this doesn't always work depending on how your links are set up. I personally don't like the outline, so I plan on setting it to none on all of my sites now.
No comments:
Post a Comment