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

javascript - IndexedDB error: Uncaught DataCloneError: Failed to execute 'put' on 'IDBObjectStore': An object could not be cloned -

amazon web services - When using Cognito credentials with AWS in a browser (javascript), keep getting "missing credentials" error -

c# - How to set the datatextfield value instead of the value on a drop down list? -