Skip to page content or Skip to Accesskey List.

Work

Main Page Content

The Ie Grey Dotted Box Get Rid Of It

Rated 2.83 (Ratings: 4)

Want more?

  • More articles in Code
 

Theodore Serbinski

Member info

User since: 15 Jul 1999

Articles written: 6

Ah, Internet Explorer. So far, the most reliable browser to use (far from anything perfect though), yet the Microsoft staff just has to throw in their own quirks, like the little grey dotted box that appears around all links. Gets annoying after a while and can ruin designs. So, get rid of it:

<body onclick="self.focus();">

Done. However, the grey box will appear now briefly for less than a second and than go away, which is a lot better than before.

NOTE: THIS CAN CAUSE PROBLEMS WHEN USED IN CONJUNCTION WITH FORMS AND OTHER THINGS WHERE A USER HAS TO TYPE SOMETHING IN. USE THIS FOR LINK ONLY PAGES.

The access keys for this page are: ALT (Control on a Mac) plus:

evolt.org Evolt.org is an all-volunteer resource for web developers made up of a discussion list, a browser archive, and member-submitted articles. This article is the property of its author, please do not redistribute or use elsewhere without checking with the author.