I've got an home image that takes users back to the homescreen. I'm using Symfony 5.
Here's the HTML:
<a id="home-link" href="{{ path('app_mainRedirect') }}"> <img src="{{ asset('images/home-icon.png') }}" width="100" > </a>
Here's the CSS:
#home-link { border-style:double;}
The image displays fine and the link works, but strangely the top of the border is displayed half way up the image. There's also a _ in the bottom right corner that I can't account for in the padding area. I'd be really grateful for any thoughts, may thanks in advance.
Edit 2: as per suggestion, if I apply display: block, it looks like this: