Re: Form, making Text field as wide as your <TD> ?
"Mel" <mel@redolive.c om> wrote in message
news:bspdu4$4n1 $1@s0b1a68.ssa. gov...[color=blue]
> is it possible ?
>
> i tried size=100% and 'NADA !'
>
> thanks,
> Mel[/color]
Re: Form, making Text field as wide as your <TD> ?
"Mel" <mel@redolive.c om> wrote in message
news:bspgcf$5gb $1@s0b1a68.ssa. gov...[color=blue]
> Thanks for your help, but what happens when the table width is 100%[/color]
instead[color=blue]
> of "300" ?
> i need my text to resize based on the table size !!!
>
> can you please help ?[/color]
Re: Form, making Text field as wide as your <TD> ?
that's exactly what i tried and what i get a a "text" that's 100px wide and
not 100% of <TD>
Yours, mel
"McKirahan" <News@McKirahan .com> wrote in message
news:iRXHb.1645 05$8y1.491487@a ttbi_s52...[color=blue]
> "Mel" <mel@redolive.c om> wrote in message
> news:bspgcf$5gb $1@s0b1a68.ssa. gov...[color=green]
> > Thanks for your help, but what happens when the table width is 100%[/color]
> instead[color=green]
> > of "300" ?
> > i need my text to resize based on the table size !!!
> >
> > can you please help ?[/color]
>
> Try:
>
> <input type="text" name="what" style="width:10 0%">
>
>
>[/color]
Re: Form, making Text field as wide as your <TD> ?
"Mel" <mel@redolive.c om> writes:
Please don't top post!
[color=blue]
> that's exactly what i tried and what i get a a "text" that's 100px wide and
> not 100% of <TD>[/color]
IIRC, you tried <input ... size="100%">. That is something different
(and incorrect, the value of the size attribute should be a number,
not a percentage).
And it works for me. Example code:
<table style="width:10 0%">
<tr><td><inpu t type="text" style="width:10 0%"></td></tr>
</table>
So, what are you doing differently.
/L
--
Lasse Reichstein Nielsen - lrn@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleD OM.html>
'Faith without judgement merely degrades the spirit divine.'
Comment