toothmkr57 Posted November 1, 2008 Share Posted November 1, 2008 Is there a way i can make css buttons with my own image? Thanks, Paul BTW, hello, I'm new to the forums and look forward to investigating your site and asking way lots of questions, and occasionally, being able to throw an answer out.... ~ Quote Link to comment Share on other sites More sharing options...
AndyB Posted November 1, 2008 Share Posted November 1, 2008 Your question is pretty vague. What's a button? Maybe this will help - http://www.w3schools.com/css/css_background.asp Quote Link to comment Share on other sites More sharing options...
Sverri Posted November 1, 2008 Share Posted November 1, 2008 You should use the HTML <button> tag, like this: <button type="button"><img src="buttonpicture.png" alt="button..." /></button> You can also apply a background using CSS: <input type="button" class="image"> input.image { background: #fff url(image.php) 50% 50% no-repeat; { Quote Link to comment Share on other sites More sharing options...
toothmkr57 Posted November 1, 2008 Author Share Posted November 1, 2008 AndyB your right it was kinda vague, sorry.... But I do belive Sverri hit the nail on the head. I forgot the button type and input type code. I'll try that later, off to work! Thanks for the quick replies, I'll post later if it worked. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.