Дам, може да го ползваш и другаде.. пр. за DIV или TABLE
<div align="center" style="width:300px;height:60px;border: 2px dotted #000000;">TEST</div>
Може да избереш и от коя страна как да е.
Пример:
<div align="center" style="width:300px;height:60px;
border-left: 2px solid #000000;
border-right: 2px solid #123FCC;
border-top: 2px dotted #A80000;
border-bottom: 2px dotted #FF00D5;">TEST</div>
Check this out:
http://www.hscripts.com/tutorials/css/borderp3.php