html - why does image hyperlink has no border in Chrome, Firefox, Safari and Opera -


is there reason why current browsers did not support image hyperlink border.

i noticed before default should have border.

it support:

img {    border: 3px solid red;    display: block;  }  {    border: 3px solid green;    display: inline-block;  }
<a href="#">    <img src="http://placehold.it/350x150" />  </a>    <img src="http://placehold.it/350x150" type="submit" />


Comments

Popular posts from this blog

java - Unable to make sub reports with Jasper -

scala - play framework: Modules were resolved with conflicting cross-version suffixes -

Save and close a word document by giving a name in R -