CSS image sprite error

1 replies
  • WEB DESIGN
  • |
Code:
#submit1 a:hover{
	background-position: -1px -56px ;
	background-image:url(sprites.png);
	
}


#submit1{
	background-position: -140px -58px ;
	width: 112px;
	height: 33px;
	background-image:url(sprites.png);
}
When put
Code:
<div id="submit1">
<a href="#">
</a>
</div>
It does not hover to what I expect it to, which is the same button, but a different color.
#css #error #image #sprite
  • Profile picture of the author BillyW
    Without the website address, it's hard to know what's going on. But perhaps put the id tag inside the <a> and see if that works.
    Signature
    Qosso.com - Exceptional Branding At Affordable Prices
    {{ DiscussionBoard.errors[7963768].message }}

Trending Topics