View Full Version : Getting Rid of Link Outlines


Penny_Lane
04-19-2003, 05:49 PM
Hi,
I know there's a code for this, I think it used to be on this site...how do I get rid of the link outlines? I have an image map and it looks so ugly when you click on the various links. Does anyone know the code? Thanks!

MaGiCSuN
04-19-2003, 05:51 PM
<body onclick="self.focus();">

is that what you where looking for? :)

Love,
Mirna

Penny_Lane
04-19-2003, 06:01 PM
yes that's probably it, thank you, can you just tell me where I put it? Sorry to bother!

MaGiCSuN
04-19-2003, 06:05 PM
i have two options for this, i know with these kind of codes that they mostly don't work together with other <body> codes

so you could try this:

onclick="self.focus();"

add that part to your allready excisting <body> tag but if that doesn't work just add this:

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

right after your excisting <body> tag that you allready have or before it, but it must be BEFORE your content starts.

so you could have something like this:

<body bgcolor="COLORHERE" topmargin=0>
<body onclick="self.focus();">

Love,
mirna

Penny_Lane
04-19-2003, 06:23 PM
It doesn't work. Does that code work with MSIE? The links in my image map are hexoganal (sp?) and when I drew them they came out a little funky looking so the outline looks really bad. Is there maybe another code I could use?