How to create a dot tag <hr / ">?
How to create a dot or any type of hr string (double, dotted, etc.) using CSS?
<hr style="...what should I write?..." /> or is there another trick?
+52
AminSaghi May 29 '13 at 16:59 2013-05-29 16:59
source share6 answers
You can only have <hr style="border-top: dotted 1px;" /> <hr style="border-top: dotted 1px;" /> . That should work.
+101
Annish May 29 '13 at 17:02 2013-05-29 17:02
source share hr { border-top:1px dotted #000; /*Rest of stuff here*/ } +24
user2406160 May 29 '13 at 17:01 2013-05-29 17:01
source share hr { border: 1px dotted #ff0000; border-style: none none dotted; color: #fff; background-color: #fff; } try it
+11
Zaziki May 29 '13 at 17:04 2013-05-29 17:04
source share+10
tymeJV May 29 '13 at 17:01 2013-05-29 17:01
source shareThe <hr> is just a short element with a border:
<hr style="border-style: dotted;" /> +8
Blender May 29 '13 at 17:01 2013-05-29 17:01
source shareYou can do:
<hr style="border-bottom: dotted 1px #000" /> +7
karthikr May 29 '13 at 17:02 2013-05-29 17:02
source share