Jump to content

how to create a image button in css


markiee

Recommended Posts

width and height need a proper value."Button input" is probably not the selector you want to use. You can't create anything in CSS, just style existing elements. You're allowed to put a background image on any element, but you need to give the element the right width and height to show the image at the correct size.

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
×
×
  • Create New...