W3C home > Mailing lists > Public > www-html@w3.org > March 1998

Re: CSS, HTML 4.0, IMG

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

This archive was generated by hypermail 2.4.0 : Thursday, 30 April 2020 16:20:33 UTC