7

With this CSS styles I expect a circle with dotted border:

div{
    border: 1px dotted #000;
    padding: 50px;
    border-radius: 100px;
    display: inline-block;
}

But Firefox is rendering solid borders (fiddle here). Any solution?

UPDATE
THIS IS NOT AN ISSUE ANY MORE.
RESOLVED in Firefox 50

Omid
  • 4,575
  • 9
  • 43
  • 74

1 Answers1

10

If you're using Firefox, this is a known bug. Your options are:

  • If this is just for the sake of a circle, draw it with <canvas>, e.g. as demonstrated here
  • Use SVG (possibly inline), which supports various ways to stroke paths
  • Just make a PNG
  • Fix the bug, which Mozilla will surely appreciate ;)
Community
  • 1
  • 1
Eevee
  • 47,412
  • 11
  • 95
  • 127
  • 1
    OMG, I prefer to give up and use a trapezoid instead of fixing this bug. Of-course not just for fixing the bug, but forcing users to update their browsers ;) – Omid Oct 10 '13 at 22:59
  • ah, thinking of the users! how very selfless of you ;) – Eevee Oct 10 '13 at 23:00