Hi TS,
AS for the width of the ASP.NET TextBox control( in fact it is a <input
type="text" ...> html element), I've also have a test and found that the
"columns" property will work in a certain scope, when the colums's value is
too small, the TextBox will remain a default width. At that time, if we
still want to make its width smaller, we have to set the "Width" property
also, for example:
<asp:TextBox id="TextBox1" runat="server" Font-Size="12pt" Columns="2"
Width="20px"></asp:TextBox>
or you can set it in the textbox's property window.
In fact, this behavior is from the <Input type="text" ..> html element ,
that we have to set its style 's width attribute when we want to make its
width less than a certain small value.
Hope this helps. Thanks.
Regards,
Steven Cheng
Microsoft Online Support
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx