|
Posted by Brian Cryer on 01/22/07 10:32
"undbund" <undbund@gmail.com> wrote in message
news:1169448220.687370.89720@51g2000cwl.googlegroups.com...
> Hi, i was wondering if this was possible. I would like to create a
> plain vanilla text button, example:
>
> [submit]
>
> When somebody clicks on the word submit, it will behave just like a
> normal html submit button. Is this possible?
> If it is, how do i go about creating it? Can you guys give me some
> links or hints where i can research on this topic.
>
> Thanks for all your help.
>
> undbund
I would suggest using a normal submit button, but using css to make it look
like vanilla text. Something like:
<html>
<head>
<style type="text/css">
input.text {
border: 0;
background-color: white;
}
</style>
</head>
<body>
<form method="post" action="">
<input class="text" name="Button1" type="button" value="button">
</form>
</body>
</html>
an alternative approach would be to use text or an href and use JavaScript
to run it into a submit button, but much as I like and use JavaScript its
probably better avoided if there is a way of doing it without JavaScript.
Hope this helps.
--
Brian Cryer
www.cryer.co.uk/brian
[Back to original message]
|