Published in: CSS
URL: sprite
sprite
<style type="text/css" > #sprite { width: 310px; height: 92px; background: url(tickets-services-new.jpg); position: relative; list-style-type: none; padding: 0; margin: 0; } #spriteLink li { margin: 0; padding: 0; list-style: none; position: absolute;} #spriteLink a {display: block; text-decoration: none; color:#5b5d62;} #sprite {left: 0; top: 0; width: 310px; height: 92px;} #sprite a {height: 92px;} #sprite a:hover {background: url(tickets-services-new.jpg) 0 -91px no-repeat;} </style> <ul id="sprite"> <li id="spriteLink"> <a o href="#">.</a> </li> </ul>
You need to login to post a comment.
