I want to add a button which looks like an image that I will assign but its type would not be “image”. For example:
<input type="button" someimagetag="someimagelink" />
Not like
<input type="image" src="" />
How do I do that?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You could style it as you would with any other element, using CSS.
Look at Twitter’s Bootstrap http://twitter.github.com/bootstrap/ any element that uses the ‘btn’ class will use these styles:
Keep in mind they use CSS3 declarations to style their elements but you could use a background image just as well.