1 2 3 4 5 6 7 8 |
.mysquare { border: 1px solid #aaaaaa; background: #cccccc url(images/dog.png) 50% 50% repeat-x; color: #222222; font-weight: bold; } |
To just set height and width of background image set by css
1 2 3 |
background-size: 80px 60px; |
Position
1 2 3 |
background-position: 190px -3px; |