Resizing Validator Controls

  • Thread starter Thread starter brian
  • Start date Start date
B

brian

When I drop a validator control on a page I am unable to
make the control smaller. I change the width property to
lets say 10px from the default of 97px and the validator
control remains the same size. I am looking to make this
control small enough to only contain an *. Can someone
explain if this is normal or not?

Thanks
 
I'm guessing that you are assigning the Width property to "10px" and perhaps
using Gridlayout?

Normally if you omit the Width property value (leave it blank), the HTML
generated will also omit the associated style="width:value". The result is
that the browser will size the validator to the text that it contains.

--- Peter Blum
www.PeterBlum.com
Email: (e-mail address removed)
Creator of "Professional Validation And More" at
http://www.peterblum.com/vam/home.aspx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top