Forums

This topic is locked

using an image as submit

Posted 18 Aug 2008 12:04:39
1
has voted
18 Aug 2008 12:04:39 Matt Bristow posted:
Hi all

This may sound like a dumb question (maybe I need more coffee for a Monday morning!!)

I am using CS3 with Developer Toolbox and have created a login page using the login wizard and it all work fine then when I come to style the page the submit button needs to be an image so I have to replace:

<input type="submit" name="kt_login1" id="kt_login1" value="Login" />

with

<input name="kt_login" type="image" id="kt_login" value="Login" src="images/GoBut.gif" border="0" >

But the transactions stop working, is this something I need to do in a css?

Thanks in advance

Replies

Replied 18 Aug 2008 14:20:52
18 Aug 2008 14:20:52 Alan C replied:
I think it's that type = image, it's telling the browser to expect an image, try changing that back to type = submit and I think it will work, you may have to re-arrange the order back to what it is in the origainal

hope that works <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>

Reply to this topic