This is the code that I still have:
background: none;
background-image: url(../images/red-button-bg-left.png), url(../images/red-button-bg-tile.png), url(../images/red-button-bg-right.png);
background-repeat: no-repeat, repeat-x, no-repeat;
background-position: 0 0, 19px 0, 100% 0;
The button looks like this:
[left corners image][body image][right corners image]
My normal code will work, but in this case it url(../images/red-button-bg-tile.png)goes under the left and right images and, since it is transparent, ruined the button style.
What trick?
Gajus source
share