Quote:
Originally Posted by oesxyl
0 have no units, 
|
brazenskies' code was perfectly adequate.
For 0 values, units are optional. You can use them if you wish. They aren't going to do any harm and won't make any functional difference.
Quote:
|
use border: 0; or border: none;
|
Heck, belt 'n' braces…
border: 0 none; is perfectly valid.
…and create another*.
Bear in mind that the outline is a property of the anchor, not the img within the anchor, so it would need to be applied to the anchor, were it wanted gone.
* Bear in mind the accessibility issus associated with removing the outline (and not replacing it with some other, effective means of denoting focus).
Fwiw, as you appear to like to drop optional bits,
outline: none; should do the same job as
outline-style: none;;
As you most likely know, image links adopt a blue border which
text-decoration: none; will not remove. It is most likely that blue border which the OP is speaking of.
As said, brazenskies' code will do the job.