I saw in SO there is a lot of DIV which is surrounded by dotted lines, how to do it in CSS & HTML?
Thanks. Bin
I saw in SO there is a lot of DIV which is surrounded by dotted lines, how to do it in CSS & HTML?
Thanks. Bin
<div style="border: dotted 1px black" id="mydiv">content</div>
or
<style type='text/css'>
#mydiv { border: dotted 1px black; }
</style>
<style type='text/css'>
#mydiv { border-left: 1px dotted black; }
</style>
You can target each side individually, so instead of border-left you can use border-right, border-bottom, or border-top.
Also there are more then just solid or dotted borders you can find more here