Mouse Hover changing the Background Image of a button
Hello i am new to c# programming, I wanted to change the background image of a button to another image, i stored all the images in a folder but i cant do that, Please I need your Help
Know the answer? Post it. Somebody with the same question will find it here.



Let's say we have button as below. type="button" id="btn" value="Submit" />
#btn {
background-image:url('images/normal.jpg');
}
#btn:hover {
background-image:url('images/hover.jpg');
}Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Amar SrivastavaRank #1,375 · 1.2K reputationPosted Jul 29, 2020, 3:48 PM EDT