【发布时间】:2011-07-17 14:05:20
【问题描述】:
我刚开始使用 WebMatrix,想知道如何设置 @Html.TextBox("email") 和 @Html.Password("password") 控件的样式?
我已经尝试过(在我的 CSS 文件中):
.email{
/* styles here */
}
.password{
/* styles here */
}
但这根本没有效果。我们如何设计这些类型的控件?
【问题讨论】:
标签: c# asp.net css razor webmatrix