aspose file tools*
The moose likes Struts and the fly likes put Submit as a Image Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "put Submit as a Image" Watch "put Submit as a Image" New topic
Author

put Submit as a Image

Shyam Hai
Ranch Hand

Joined: Feb 04, 2009
Posts: 68
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

Joined: Oct 29, 2001
Posts: 8867
    
    8



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


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Shyam Hai
Ranch Hand

Joined: Feb 04, 2009
Posts: 68


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.
 
jQuery in Action, 2nd edition
 
subject: put Submit as a Image