[thelist] image borders for netscape

.jeff jeff at members.evolt.org
Mon Oct 28 17:25:01 CST 2002


chris,

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: Chris W. Parker
>
> > > > img {border-style:none; border-width:0;}
> > >
> > > any other ideas? this doens't seem to work.
> >
> > i can't remember the original situation exactly...
> > does it have to be css specifically?
>
> yes, because border="0" is not a valid attribute on
> <input> in 4.01 transitional. (but i guess it doesn't
> *HAVE* to validate, it just bugs me when it doesn't.)
> otherwise no.
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

oh, you're trying to remove the border from an image <input>?  that changes things.  try applying a class to the <input> and then setting border to 0px in the class declaration:

<input type="image" class="inputImg" ...>

.inputImg {
  border-style: none;
  border-width: 0px;
}

good luck,

.jeff

http://evolt.org/
jeff at members.evolt.org
http://members.evolt.org/jeff/




More information about the thelist mailing list