Wish list: 0 width border for images with links

I observe the following browser behavior.

MSIE 6, Mozilla 1.7.13, Firefox 2.0:

  A simple image with a link such as:

    <a href="blah.html"><img alt="zzz" src="yyy.jpg" />

  displays with a two-pixel border, in blue, unless the link has been
  visited in which case it is purple.

  I found that using:

    style="border: 0px none "

  in the <a ..> tag did not remove the border.


Amaya 9.52, Opera 9:

  Displays no border.


Since I often want to create images with links and no borders, in the
past I used

  border="0"

within the image tag.  I can do this with Amaya by selecting the image
and using Tools > Attributes > Border with the default 0.

I can also have:

  style="border: 0px none "

in the image tag - and creates no border for all browsers.

It would be nice to have an option for this being applied every time I
create a link to an image, or perhaps every time an image is created.
Probably the style approach would be more future-friendly.

Also, since it is good practice to specify image height and width in the
source, to help the browser lay out the page, it would be nice if Amaya
automatically put these in, after finding out the dimensions from the
image file itself.

 - Robin

Received on Wednesday, 1 November 2006 03:37:51 UTC