css - Putting a Rectangular Border Around Text -


for class below, trying put rectangular border around text, css not doing expect. how put border around text?

thanks in advance,

john

css:

.commentnotify {              position:absolute;             width:310px;             left:30px;             top:240px;             color: #004993;             border: medium;             border-color: #004993;             font-family:arial, helvetica, sans-serif;             font-size: 10px;             font-weight: bold;             height: 15px;             padding-bottom: 0px;             padding-left: 2px;  } 

you can combine border attributes in single one:

border:1px solid #004993; 

Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -