पर छवि बनाएं, मैं इस सरल समाधान के साथ काम कर रहा हूं, लेकिन मुझे इस विशिष्ट समस्या से संबंधित स्टैक ओवरफ्लो या इंटरनेट पर कोई सहायता नहीं मिली।लिंक होवर सीएसएस
मेरे पास एक मेनू है, और मैं लिंक के नीचे एक छवि दिखाना चाहता हूं या जब आप इसे होवर करते हैं तो बंद करें। मुझे उम्मीद है कि यह सीएसएस में किया जा सकता है। यह अब तक मेरा कोड है।
एचटीएमएल
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="startpage.css">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div id="wrapper">
<img id="baggrund" width="166" height="327" alt="back image" src="images/laerkeryg.jpg"/>
<img id="cirkler" width="319" height="249" alt="circles" src="images/circles.PNG"/>
<div id="header">/jacob gerlif pilegaard/</div>
<div id="underheader">portfolio</div>
<ul>
<li><a href="index.html">home</a></li>
<li><a href="about.html">about</a></li>
<li><a href="gallery.html">gallery</a></li>
<li><a href="contact.html">contact</a></li>
</ul>
</div>
<img id="menucircle" width="50" height="50" alt="menu circle" src="images/circle.PNG"/>
</body>
</html>
और यह सीएसएस अब तक है:
a:hover
{
background-image: url('image/circle.PNG');
background-repeat: no-repeat;
}
आशा है कि आप लोग मेरी मदद कर सकते हैं!
मेरे लिए ठीक काम कर रहा है? [fiddle] (http://jsfiddle.net/venkateshwar/wW8aW/) –