ASP.NET 2.0 - Text Box - 100% Width Does Not Work When Blank!

Experts,
I have a text box that its width is set to 100%. If the text box is empty, it goes to a very minimized size! I need to do something like the one in this page EE Question Wizard text box (title for example) it is full width even when it's empty.

How?
feesuAsked:
Who is Participating?
 
Pratima PharandeConnect With a Mentor Commented:
set Width="100%"  and also set the Width for table , td , tr tags properly
0
 
Ashish PatelCommented:
put size property to something and try
0
 
feesuAuthor Commented:
My size property is already set to 100%
0
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

 
Ashish PatelCommented:
not to 100% it should be in numbers like 35 to represent no of characters. Try putting size="35" and check
0
 
feesuAuthor Commented:
It works for HTML input, but not for ASP text box.
0
 
Ashish PatelCommented:
in asp text box there is a size property which you will have to set a value to like size="35" and not in % or px.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.