Looking to center a line divider on my webpage, I came across a method using this link: http://jsfiddle.net/gtKBs/1133/
However, I couldn't figure out how to change the straight line into a dotted one through coding. That's why I'm seeking help here.
.divider {
position:absolute;
left:50%;
top:10%;
bottom:10%;
border-left:1px solid grey;
}