PDA

View Full Version : Linked image purple border


hairynugs6382
09-04-2002, 07:51 AM
Can anyone tell me how to get rid of the purple border that shows up around a linked image. I tried css and stating it in the body tag and it does not work i am asuming it is not related with text links!

thanks in advanced

MCookie
09-04-2002, 09:08 AM
In your stylesheet:

img {
border:none;
}

wontgetlost
09-04-2002, 06:00 PM
CSS is not necessary for what you want.
Just place in your image tag:
border="0"

Roy Sinclair
09-04-2002, 06:36 PM
Originally posted by wontgetlost
CSS is not necessary for what you want.
Just place in your image tag:
border="0"

CSS is always necessary ;), it's constructs like border="0" which have been deprecated which should not be necessary and should only be used as a last resort.

wontgetlost
09-04-2002, 09:14 PM
Originally posted by Roy Sinclair


... border="0" ... should only be used as a last resort.

You mean in addition to right?

Because the fact is that border="0" works great.
However, if what you say is true then it must be an xml thing.

In other words, future versions of IE might not be supporting border=

I know that when I write pages I use style= to define the font size in px and then I add the size= tag in addition to

Does that mean that size= will also be going away?

If the above 2 things come to pass there will be a lot of pages not displaying right in the not too distant future... an unlikely scenario.

So someone in the know, please provide us with a bottom line here. Any input would be greatly appreciated.