开发者

hide span with validator asp.net

开发者 https://www.devze.com 2023-04-01 01:51 出处:网络
Is it possible to compl开发者_如何学JAVAetely hide css validator ? Despite its not visible as a text, there is visible space for it. In html there is simply a span with visibility hidden but it takes

Is it possible to compl开发者_如何学JAVAetely hide css validator ? Despite its not visible as a text, there is visible space for it. In html there is simply a span with visibility hidden but it takes space:

Situation after adding requiredFieldValidator is shown below:

http://imageshack.us/g/571/desirez.png/

Thank You very much for help.


Try setting the display property of the validator to dynamic. By default, it's set to static, which will render space for it on the page. If you set it it to dynamic, I'm quite certain it uses display:none to hide it completely.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号