Hi Peter
If you just want to fill that one textbox in that cell, in the textbox 
properties enter 100% for the width.
If you have multiple textboxes to deal with, CSS would be the best option to go 
with.

David Loo
MCPD, MCTS, MCPhttp://www.davidloo.com(m) 0405132886



From: [email protected]
To: [email protected]
Subject: TextBox width within table cell
Date: Wed, 11 Apr 2012 10:45:45 +0800



With ASP.NET Web Forms, how can one set width of a textbox within a table cell 
so that it fills the size of the table cell (allowing for margins, padding 
etc). I have created a table with three columns (two rows and each row has 
three cells). I have dragged a textbox into the middle cell of the first row 
and it occupies just the left part of it. There must be some global overriding 
style that determines its width (MinWidth, MaxWidth or something else)I can 
override the width but would prefer to use css values to control this. I am 
just starting to look at using css with asp.net Regards Peter Maddin
Applications Development Officer
PathWest Laboratory Medicine WA
Phone : +618 6396 4285 (Monday, Wednesday,Friday)Phone : +618 9346 4372 
(Tuesday, Thursday)
Mobile: 0423 540 825 
E-Mail : [email protected]; [email protected]
The contents of this e-mail transmission outside of the WAGHS network are 
intended solely for the named recipient's), may be confidential, and may be 
privileged or otherwise protected from disclosure in the public interest. The 
use, reproduction, disclosure or distribution of the contents of this e-mail 
transmission by any person other than the named recipient(s) is prohibited. If 
you are not a named recipient please notify the sender immediately.             
                          

Reply via email to