After following another excellent screencast on this site, I have made a Paypal button. I have made a custom image, but I cannot make a hover and an active state for the button…
This should be quite simple but since the button is a <form> I can’t seem to make it do what I want.
I like what you’re doing, but you’re missing some CSS basics:
Here is the HTML for your button:
Your CSS selector is grabbing a div with the ID of button… which doesn’t exist:
I don’t know exactly what your trying to do, but I have a feeling you need to make the <div id="button"> around your input instead of around the form. Just a wild guess… I haven’t watched the video you mentioned.
Looking at this again, It may be the ":active" which is killing this in some browsers.
background-position: top center;
Hereby I have now tried making the button act as the navbar, with a css sprite. The active state works, but pressing the button does not do a thing now. I still think there must be some real easy solution to this, but I can’t seem to get it…