tags:

views:

28

answers:

1

Hello, 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

+1  A: 

Use this -

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