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 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/ 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 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 Link to comment https://forums.phpfreaks.com/topic/282737-button-autochange-with-css/#findComment-1452761 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.