Wrong dashed outline around a <div>

92 views Asked by At

If you click here, then click on the link "A new article" and then come back to the previous page (browser history previous page), you will see this:

enter image description here

Why this strange dashed polygonal form/geometry? How to have it rectangular instead?

The code seems normal:

<div class="article">
  <a href="article/coolarticle">
    <h2 class="articletitle">A new article</h2>
    <div class="articleinfo">by Jo, on 2015 April 10th</div>
  </a>
  ...
</div>
1

There are 1 answers

2
Azulite On BEST ANSWER

Apply below style to the a tag should make the outline to be a rectangle:

<a href="article/coolarticle" style="display:block;">