You would do something like this:
<font color='"Red"'>border: solid #000000;
border-width: 1px 0;</font>
margin:0px 0px 0px 0px;
padding: 0px 7px 0px 7px;
Of course, there are many variations. All I've done is remove the border-width from the shorthand rule and added it in separately.