Link to home
Start Free TrialLog in
Avatar of feesu
feesu

asked on

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?
Avatar of Ashish Patel
Ashish Patel
Flag of India image

put size property to something and try
Avatar of feesu
feesu

ASKER

My size property is already set to 100%
not to 100% it should be in numbers like 35 to represent no of characters. Try putting size="35" and check
ASKER CERTIFIED SOLUTION
Avatar of Pratima
Pratima
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of feesu

ASKER

It works for HTML input, but not for ASP text box.
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.