How to make a picture act like a button
By karray gargouri
05 Jul 2014 01:46
English
2 Replies
Hello,
I trying to make a button with an image as a background like this:
<div class="myButton"><INPUT type="submit" name="" value=""></div>
and This is the css content:
<style type="text/css">
div.myButton input {
background:url('images/map.png') no-repeat;
cursor:pointer;
width: 200px;
height: 100px;
border: none;
right: 10px;
bottom:20px;
}
</style>
Unfortunately, I got nothing in the screen.
You must log in to use this service. Log in now?
The tag you entered already exists.
Do you want to report this post as spam?
The post has been reported as spam.
cannot be empty.
Are you sure you want to cancel and return to the list?
The code has been copied to the clipboard.
Enter a title.
All Categories
General Support
Tizen .NET
Web Application Development
Native Application Development
SDK & IDE
--------
--------