adding text in border code example
Example 1: put an border around an text in css
text-shadow: 2px 0 0 #fff, -2px 0 0 #fff, 0 2px 0 #fff, 0 -2px 0 #fff, 1px 1px #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff;
Example 2: how to make a text with a border in css
h1{
width:30px;
margin-top:-10px;
margin-left:5px;
background:white;
}
/* Change the values to achieve what design you want */