Thanks that was it.

There  are so many properties one has trouble seeing the wood for the trees

 

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.

 

 

From: [email protected] [mailto:[email protected]]
On Behalf Of Arjang Assadi
Sent: Wednesday, 11 April 2012 11:00 AM
To: ozDotNet
Subject: Re: TextBox width within table cell

 

Hi Peter,

 

Have you tried css property width : 100%; ?

 

the css might look someting like this 

 

input

{

 width : 100%;

}

or something similar as far as I can remenmber when I did Asp.net

 

Regards

 

Arjang

 

On 11 April 2012 12:45, Peter Maddin <[email protected]> wrote:

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 <tel:%2B618%206396%204285>  (Monday,
Wednesday,Friday)

Phone : +618 9346 4372 <tel:%2B618%209346%204372>  (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