Why this odd little border?

Why this odd little border?

by N Hansen -
Number of replies: 4
I'm working on developing something for my site and I have added a help button to a page I created using the helpbutton function. The button works fine, but the button image is surrounded by an odd two pixel border that is purple (551A8B) in Firefox and blue in Internet Explorer (0000FF). I can't figure out why it is there and can't get it to go away. It is not coming from the theme and it appears nowhere else on my site. I'm really stumped as to what to do about it.
Average of ratings: -
In reply to N Hansen

Re: Why this odd little border?

by Thomas Robb -
My guess is that the theme you are using has either specified that or has neglected to specify it properly.  If you switch to a standard theme it will probably disappear.

You can, however, add code like the following to prevent it:

   <img src='xxxxx.gif'  border='0'>

--Tom
In reply to Thomas Robb

Re: Why this odd little border?

by Jan Dierckx -

That's correct. The border is blue if you have never followed the link. It is purple if you have clicked on it.

If you are using the helpbutton function, you can't add the border='0' part, so you need to control it with CSS.

Should be something like a img {border: none; }.

In reply to Thomas Robb

Re: Why this odd little border?

by N Hansen -
Thanks-The theme was the problem. This is a popup, not a regular page, so the theme that is normally specified in the header wasn't specified. I included the theme and now it works.

I just had no idea that linked images automatically got a border put around them if no style was specified. Learn something every day.