RE: NN 4.x and borders around linked images

by Rowland Shaw <Rowland.Shaw(at)crystaldecisions.com>

 Date:  Fri, 5 Jul 2002 00:29:59 -0700
 To:  "'thewolves(at)bigfoot.com'" <thewolves(at)bigfoot.com>,
davida51 <davida51(at)swbell.net>
 Cc:  Hwg style <hwg-style(at)hwg.org>
  todo: View Thread, Original
This doesn't fix this, as davida51 is using <input type="image"...>

>From what I remember, NN/4.x doesn't support advanced enough selectors (
input[type=image] { border: 0; } ) so it would be a case of creating a
class, and assigning that to each input image.


-----Original Message-----
From: Larry Coats [mailto:thewolves(at)attbi.com] 
Sent: 04 July 2002 17:16
To: davida51
Cc: Hwg style
Subject: Re: NN 4.x and borders around linked images


davida51 wrote:
> Hi All -
> How do I use CSS to remove the blue border from
> around images that are used for submit buttons in
> a form?
> The problem is showing up in NN 4.7
> 
> See http://216.197.101.134/prod.cfm


Unfortunately, just coding

a img { border: 0px; }

doesn't work in NN 4 for some reason. However, you can change the color 
of the border. Since your page's background is white, specify a white 
border color and the border will go away (this won't affect other 
browsers, since they will have eliminated the border).

a img { border: 0px; color: #fff; }


Larry Coats

HWG hwg-style mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.