acadia
acadia

Reputation: 2625

FieldSet element in ASP.net

I am using FieldSet element in 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

Upvotes: 0

Views: 2406

Answers (1)

Vinay B R
Vinay B R

Reputation: 8421

Use this -

<style>
.hdrText
{
    color:red;
font-weight:bold;
}
.border
{
border: solid 1px blue;
}
</style>
<fieldset class="border"><legend class="hdrText">header</legend></fieldset>

Upvotes: 1

Related Questions