Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想设置“无法登录”的错误消息的样式,但我不知道如何在 css 中标记它?提前致谢。我正在使用 webmatrix 2。
我希望你有一个代码来显示。但我会想象你打算将 css 注入失败的登录。
if(!Validation.IsValid()){ <style type="text/css"> /*Style the error class here */ </style> }