How can I define fieldset border color?

前端 未结 4 1205
予麋鹿
予麋鹿 2020-12-28 12:38

I want to set border color of field set. I am using class but this is not working properly because i want to remove fieldset default border color. so how can I use fieldset

4条回答
  •  借酒劲吻你
    2020-12-28 13:28

    It does appear red on Firefox and IE 8. But perhaps you need to change the border-style too.

    .field_set{
      border-color: #F00;
      border-style: solid;
    }
    box
     

    alt text

提交回复
热议问题