Calculate length of input based on parent <TD>
am 14.03.2007 07:41:34 von MichaelHi. I need dinamically calculate input text field based on parent static TD
before showing content of input. Please, advice.
Michael
Hi. I need dinamically calculate input text field based on parent static TD
before showing content of input. Please, advice.
Michael
"Michael"
news:%23$aZpOgZHHA.4668@TK2MSFTNGP04.phx.gbl...
> Hi. I need dinamically calculate input text field based on parent static
TD
> before showing content of input. Please, advice.
> Michael
>
>
In what way is the TD 'static'?
What units do you want the length value to be in?
It usually best to describe your intentions along with your question. That
way you stand a better chance of someone giving an better approach overall
to your problem. So why to do you want to calculate the length and what
exactly do you mean by length anyway?
Anthony Jones wrote on 14 mrt 2007 in
microsoft.public.inetserver.asp.general:
>
> "Michael"
> news:%23$aZpOgZHHA.4668@TK2MSFTNGP04.phx.gbl...
>> Hi. I need dinamically calculate input text field based on parent
>> static
> TD
>> before showing content of input. Please, advice.
>> Michael
>>
>>
>
> In what way is the TD 'static'?
> What units do you want the length value to be in?
>
> It usually best to describe your intentions along with your question.
> That way you stand a better chance of someone giving an better
> approach overall to your problem. So why to do you want to calculate
> the length and what exactly do you mean by length anyway?
Anyway wrong NG. The problem seems 100% clientside.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
' ------------------------------------------------------------ --------------------------
The sample here:
"Michael" Thank you very much , Antony. Your answer is great and helpful. Thanks a lot
news:ONlgsHuZHHA.4420@TK2MSFTNGP02.phx.gbl...
>
' ------------------------------------------------------------ --------------
------------
> The sample here:
>
>
>
>
>
>
>
>
> Every time i have different amount of s for display and every time i
> make first width of TD and after accordingly size of input. I would like
to
> calculate dinamicaly size of based on width of parent
> Thanks for respond
Don't use size attribute (in fact don't use width attribute either)
table-layout:fixed indicates that your TD widths should be honored. The
input widths of 100% indicate that it should take up all the available space
within the TD.
>
>
' ------------------------------------------------------------ --------------
------------
>
> "Anthony Jones"
> news:eFiFWziZHHA.5080@TK2MSFTNGP02.phx.gbl...
> >
> > "Michael"
> > news:%23$aZpOgZHHA.4668@TK2MSFTNGP04.phx.gbl...
> >> Hi. I need dinamically calculate input text field based on parent
static
> > TD
> >> before showing content of input. Please, advice.
> >> Michael
> >>
> >>
> >
> > In what way is the TD 'static'?
> > What units do you want the length value to be in?
> >
> > It usually best to describe your intentions along with your question.
> > That
> > way you stand a better chance of someone giving an better approach
overall
> > to your problem. So why to do you want to calculate the length and
what
> > exactly do you mean by length anyway?
> >
> >
>
>
Re: Calculate length of input based on parent <TD>
am 15.03.2007 12:10:01 von Michael
Michael Groysman
"Anthony Jones"
news:%23dMQ9vuZHHA.808@TK2MSFTNGP04.phx.gbl...
>
> "Michael"
> news:ONlgsHuZHHA.4420@TK2MSFTNGP02.phx.gbl...
>>
> ' ------------------------------------------------------------ --------------
> ------------
>> The sample here:
>>
>>
>>
>>
>>
>>
>>
>>
>> Every time i have different amount of s for display and every time i
>> make first width of TD and after accordingly size of input. I would like
> to
>> calculate dinamicaly size of based on width of parent
>> Thanks for respond
>
> Don't use size attribute (in fact don't use width attribute either)
>
>
>
>
>
>
>
>
>
>
>
>
> table-layout:fixed indicates that your TD widths should be honored. The
> input widths of 100% indicate that it should take up all the available
> space
> within the TD.
>
>
>>
>>
> ' ------------------------------------------------------------ --------------
> ------------
>>
>> "Anthony Jones"
>> news:eFiFWziZHHA.5080@TK2MSFTNGP02.phx.gbl...
>> >
>> > "Michael"
>> > news:%23$aZpOgZHHA.4668@TK2MSFTNGP04.phx.gbl...
>> >> Hi. I need dinamically calculate input text field based on parent
> static
>> > TD
>> >> before showing content of input. Please, advice.
>> >> Michael
>> >>
>> >>
>> >
>> > In what way is the TD 'static'?
>> > What units do you want the length value to be in?
>> >
>> > It usually best to describe your intentions along with your question.
>> > That
>> > way you stand a better chance of someone giving an better approach
> overall
>> > to your problem. So why to do you want to calculate the length and
> what
>> > exactly do you mean by length anyway?
>> >
>> >
>>
>>
>
>