Rollover Button Css with image

<style type="text/css"> a#replaced { display:block; text-indent:-9999em; width:50px; height:25px; background:url(http://i.imgur.com/qqhK0qz.jpg) top left no-repeat; /*The Image need to be 50px x 50px*/ } a#replaced:hover { background-position:0 -25px; } </style> <body> <p><a href="#" id="replaced">example</a></p> </body>
Rollover Button Css with image
50 x 50px

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.