Matt wrote on 23 jun 2004 in microsoft.public.inetserver.asp.general:
> The code
> <input type="button" name="btn" value="ok">
>
> will produce a html button with caption ok and value ok.
> The problem is the width of button is dependent on the length of
> attribute value.
>
> And I do the following, which is not a good solution.
>
> <input type="button" name="btn" value=" ok ">
>
> The problem is if I want to get the button's value:
> Request.Form("btn"), then I need to trim the data.
>
> any ideas??
Lot's of.
But this is an ASP NG, for serverside(!) coding.
Please search for a HTML, CSS, Javascript or other for follow up.
====================
btw:
<input type=hidden name="btn" value="myvalue">
<button onclick="submit()" style="[width in css-code]">
Hi</button>
please do not respond in this NG.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
|