.imageBox1 ul li ul .location1 { display:none; } .imageBox1 ul li ul:hover>.location1 { display:block; position:absolute; }
<div class="imageBox1"> <ul> <li class="img1"><img src="apt1.jpg" /><br> <span style="font-size:large; text-align:center; font-weight:bold;">Vasans Riveria-RS Puram</span> <ul> <li id="smap"><a href="#" > <span style="color:Silver; ">Location</span></a></li> <li class="location1"><img src="twobhksitemap.jpg" style=" width:120px; background-color:Blue"/></li> <li><a href="two_bhk_floorplan.aspx"<span style="color:Silver;">2 bhk plan</span></a></li>
.imageBox1 ul li[id="smap"] ul .location1
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)