Re: CSS, HTML 4.0, IMG

Liam Quinn (liam@htmlhelp.com)
Tue, 17 Mar 1998 20:15:47 -0500


Message-Id: <3.0.5.32.19980317201547.009947d0@undergrad.math.uwaterloo.ca>
Date: Tue, 17 Mar 1998 20:15:47 -0500
To: Brian Medendorp <medendob@saturn.lahs.losalamos.k12.nm.us>,
From: Liam Quinn <liam@htmlhelp.com>
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
http://www.htmlhelp.com/    http://enhanced-designs.com/