Re: CSS, HTML 4.0, IMG

Liam Quinn (
Tue, 17 Mar 1998 20:15:47 -0500

Message-Id: <>
Date: Tue, 17 Mar 1998 20:15:47 -0500
To: Brian Medendorp <>,
From: Liam Quinn <>
In-Reply-To: <Pine.SGI.3.96.980317171208.12934A-100000@saturn.lahs.losal
Subject: 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