- Joined
- Jun 6, 2012
- Messages
- 890
- Points
- 28
Hello,
I want to create a button with css but using only a class with 3 images in it
my code below, is it right?
or can you give me other css style?
I want to create a button with css but using only a class with 3 images in it
my code below, is it right?
Code:
.mybutton{
background-image: url(/images/middle_pic.png), url(/images/right_pic.png), url(/images/left_pic.png);
background-position: center, right, left;
background-repeat: repeat-x, no-repeat, no-repeat;
}