This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Stylesheets > April 2006 > table and col width with input type="text"





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author table and col width with input type="text"
i_dvlp@hotmail.com

2006-04-11, 6:59 pm

I'm attempting to size a table and its proving to be difficult, when
the <td> contain
input type="text"

It seems any width spec using
<col width="50"> works fine, but only when it applies to text ( not
<input> )

I also read through a 2005 post where a person attempted to put <col
....> tags in a CSS definition (in the head section) that looked
really strange, others also advocated "col" spec in CSS, so how is it
supposed to be done ?

any suggestions ?

Slyboots

2006-04-27, 3:50 am

>I'm attempting to size a table and its proving to be difficult, when
>the <td> contain input type="text"


>It seems any width spec using <col width="50"> works fine, but only when it applies to >text ( not <input> )


I work only in IE, so it might not work withy other browsers, but I set
the width of the COL or TD to a specific number. I then set the width
of the INPUT tags to "100%", so that they fill the container cells.

Stan

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews