开发者

FieldSet element in ASP.net

开发者 https://www.devze.com 2023-01-17 23:37 出处:网络
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.

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>
0

精彩评论

暂无评论...
验证码 换一张
取 消