View Full Version : Submit form with anchor tag
07-04-2007, 08:21 PM
<input type=text name="formInput">
07-04-2007, 08:48 PM
You will need a script to submit a form. It cannot be done with just HTML.
07-05-2007, 01:25 AM
In Firefox it is possible to style an input[type="submit"] element using CSS so it looks exactly like an ordinary link. This involves removing the background color, changing the font, removing the border and padding.
In IE7 and IE6 you can also style the input[type="submit"], but it seems that you cannot get rid of the padding. At least I don't know how. For this reason the pure CSS approach cannot be used.
07-05-2007, 02:41 AM
Well my purpose was not to submit a form via text link but rather to use an image and the background-position property for hover and active states. Thanks for your help anyway, it seems that what I am asking for cannot be done.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.