我正在尝试在一个蓝色框中显示我的登录过程,所以我将字段集设置为这样
<fieldset style="border-style: solid; border-color:blue; width: 840px; height: 300px">
哪个没有用,所以我在Site.css中进行了编码
.field_set {
border-color: blue;
border-style: solid;
}
然后将Login.cshtml中的字段集更改为
<fieldset class="field_set">
这仍然没有用。如何使我的字段集显示蓝色边框?
.field_set {
border: 1px solid blue;
width: 840px;
height: 300px;
}
<fieldset class="field_set">
Test
</fieldset>