Jump to content

CSS image sprite error


christopherson
 Share

Recommended Posts

I'm trying to make a simple hover effect with my submit button CSS

#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);}

HTML

<div id="submit1"><a href="#"></a></div>

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...