• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

put Submit as a Image

 
Shyam Hai
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to put an image as a submit button instead of using the button that is given.

Now i am try like this

CSS:
-----

JSP:
----

But it came normal button only. not image.


Please give the solution.
 
Joe Ess
Bartender
Posts: 9340
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Is the image where you say it is? If I recall correctly, the path for the image is considered from where the style sheet is located, not the JSP.
Try it without the "transparent"



is an example from my code
 
Shyam Hai
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Thanks for your reply.

But still i'm not get correct output.

i'm not getting image, i got only normal button.


please check this code also.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic