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?

[Webinar] Streamline your web hosting managementRegister Today

x
 
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
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
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
All Courses

From novice to tech pro — start learning today.