hoangthi Posted October 5, 2013 Share Posted October 5, 2013 Hello friends.I have a problem and need your help.I have 2 png images (100 x 300 ), I want a submit button from that 1ST image, when I move my mouse to that button, the button will be changed to 2nd image and when I click the button, the button will be sunk... Hope you understand what I want to say. You know, My English is so bad..Thanks Quote Link to comment https://forums.phpfreaks.com/topic/282737-button-autochange-with-css/ Share on other sites More sharing options...
Ch0cu3r Posted October 5, 2013 Share Posted October 5, 2013 This is not a PHP question. Should of posted in CSS Help To answer you question Have a look at this article http://kyleschaeffer.com/development/pure-css-image-hover/ Quote Link to comment https://forums.phpfreaks.com/topic/282737-button-autochange-with-css/#findComment-1452696 Share on other sites More sharing options...
Barand Posted October 5, 2013 Share Posted October 5, 2013 You can also do it with javascript, changing the image's src attribute when there is an onmouseover event. Either way, it isn't a PHP problem Quote Link to comment https://forums.phpfreaks.com/topic/282737-button-autochange-with-css/#findComment-1452723 Share on other sites More sharing options...
hoangthi Posted October 6, 2013 Author Share Posted October 6, 2013 yes. Thank you very much Quote Link to comment https://forums.phpfreaks.com/topic/282737-button-autochange-with-css/#findComment-1452761 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.