开发者

hide span with validator asp.net

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜