Solved

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

Posted on 2007-11-21
6
162 Views
Last Modified: 2013-11-26
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?
0
Comment
Question by:feesu
  • 3
  • 2
6 Comments
 
LVL 23

Expert Comment

by:Ashish Patel
Comment Utility
put size property to something and try
0
 

Author Comment

by:feesu
Comment Utility
My size property is already set to 100%
0
 
LVL 23

Expert Comment

by:Ashish Patel
Comment Utility
not to 100% it should be in numbers like 35 to represent no of characters. Try putting size="35" and check
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
LVL 39

Accepted Solution

by:
Pratima Pharande earned 50 total points
Comment Utility
set Width="100%"  and also set the Width for table , td , tr tags properly
0
 

Author Comment

by:feesu
Comment Utility
It works for HTML input, but not for ASP text box.
0
 
LVL 23

Expert Comment

by:Ashish Patel
Comment Utility
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

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now