Re: CSS, HTML 4.0, IMG

At 05:17 PM 17/03/98 -0700, Brian Medendorp wrote:
>	I was trying to validate my pages for the HTML 4.0 spec, and was
>reading through the recomendation, and can't seem to find anyway to set
>the borders on my images to zero. I don't want to have that ugly border
>around my images that are links, and it says that there is no BORDER
>option for the IMG tag.

There's no BORDER attribute in HTML 4.0 Strict, but there is one in HTML
4.0 Transitional.

>I figured it was changed to be controled by style
>sheets (like a lot of the other stuff), for instance, something like:
>
>IMG { border: 0 }

A:link IMG, A:visited IMG, A:active IMG { border: none }
 
>but haven't found anything that works yet.

Browser support for CSS is weak.  I believe IE4 supports what I gave above,
but Netscape 4.x does not.

--
Liam Quinn
Web Design Group            Enhanced Designs, Web Site Development
http://www.htmlhelp.com/    http://enhanced-designs.com/

Received on Tuesday, 17 March 1998 20:17:44 UTC