I have php login script that I have modified with htm tables and css. I would like to replace the submitt button with an image. However when on line 64
From
<input type="submit" name="Submit" value="Login">
To
<input type="image" name="Submit" value="Login" src="../img/as.jpg">
The page loads correctly but the link submitt does not work.
Any ideas appreciated. I have include sample code in the dropbox link below.
http://dl.dropbox.com/u/3333282/button_image_problem.zip
Thanks, I would like to ackowledge that this code was originally written by some one whose name is on my home machine. Sorry to the writer.
Henry
Input type can’t be image. That is not valid html. If you want to use an image as the submit-button, you will have to use css to do that.
<input type="submit" name="Submit" value="Login" class="submitwithimage">Apply a class like such ^ and read this article for more explanation:
http://eisabainyo.net/weblog/2009/04/24/how-to-style-a-submit-button-in-css/