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.
我正在使用 Validation Engine2.2 jquery 插件来验证我的表单,问题是我无法在字段上准确显示错误,每个字段与其错误消息之间存在一点差距,是否有任何设置顶部位置手动查看这些错误消息?
默认情况下,插件带有设置为默认值的 CSS 属性,您需要通过!important;为手动创建的样式提供属性来覆盖这些值。
!important;
覆盖样式中 formError 类的属性 padding-top