How do I add descriptive text to form link .gif ?

Posted by erynion on Stack Overflow See other posts from Stack Overflow or by erynion
Published on 2010-03-12T17:18:25Z Indexed on 2010/03/12 17:37 UTC
Read the original article Hit count: 215

Filed under:
|
|
|

I want to make the descriptive text around a form link also open the form. I want to make it so you can click on "Some Text Here" (below) and open the form on somesomite.com just as if you clicked on the image below this text (somebut.gif, below)

<DIV style="position: absolute; top:10px; right:10px; width:70px; height:25px">
<font color="white"><b>Some Text Here<b></font>
</div>
<DIV style="position: absolute; top:50px; right:10px; width:70px; height:25px">
<form action="https://www.somesite.com/cgi-bin/something" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="image" src="https://www.somesite.com/somebut.gif" border="0" name="submit">
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----LONG_KEY...>
</form>
</div>

Thanks

© Stack Overflow or respective owner

Related posts about css

Related posts about form