I am trying to create a circle with an outline that has margin.
Everything seems to work except i cant seem to get that few px of margin in there.
Any suggestions please?

.ui-corner-all { -moz-border-radius: 30px; -webkit-border-radius: 30px; border-radius: 30px; border: 1px solid black; margin:5px; width:30px; height:30px;}
heres my fiddle: http://jsfiddle.net/nalagg/K6pdr/
I’d say to treat it like this:
Outer “border” – use a box shadow
Inner “margin” – use a white border
Inner area – use background color
All together you get:
You can make the outer border more distinct by setting blur-radius to 0 on box-shadow.
As an alternative, you could use a second element: