|
Thanks Chris but, neither sample will work for us and here is why
This is our page code part
<a class="thumbnail" href="!!url!!" target="_blank">!!thumb!!<span>!!thumb!!</span></a>
and this is CSS
.thumbnail img{
position: relative;
z-index: 0;
border: 1px solid gray;
padding: 0px;
width: 111px;
height: 82px;
}
.thumbnail:hover{
background-color: transparent;
z-index: 1;
}
.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
padding: 0px;
width:435px;height:325px;
filter:shadow(color:#333333,strength:12, direction:135);
margin-left: 50px;
visibility: hidden;
}
.thumbnail span img{ /*CSS for enlarged image*/
border: 5px solid brown;
padding: 0px;
width: 400px;
height: 300px;
}
.thumbnail:hover span{ /*CSS for enlarged image on hover*/
position: fixed;
visibility: visible;
bottom: 200px;
left: 175px; /*position where enlarged image should offset horizontally */
}
As you can see there is no <DIV> but pure 100% CSS that work like a charm
and all we need is the same kind of elegant solution that we can apply to have shadow
on the right and bottom or around whole image. Good example would be Ask.com
fastreplies
Last edited by fastreplies; 11-16-2007 at 08:41 PM..
|