FieldSet element in ASP.net
I am using FieldSet element i开发者_如何学运维n my web application. Now I need to apply style to it so that the border color is blue and the legend is bold in color. How do i do that? Thanks in advance
Use this -
<style>
.hdrText
{
color:red;
font-weight:bold;
}
.border
{
border: solid 1px blue;
}
</style>
<fieldset class="border"><legend class="hdrText">header</legend></fieldset>
精彩评论