0

我想设置“无法登录”的错误消息的样式,但我不知道如何在 css 中标记它?提前致谢。我正在使用 webmatrix 2。

4

1 回答 1

0

我希望你有一个代码来显示。但我会想象你打算将 css 注入失败的登录。

if(!Validation.IsValid()){
  <style type="text/css">
      /*Style the error class here */
  </style>
}
于 2013-05-27T04:26:58.067 回答