logo

.: Full Size Image on Hover :.


Full Size Image on Hover



EXAMPLE:


Water Reflet tutorial.

WATER REFLET
Version: 11
Level: Intermediate
Description: Create a beautiful water reflet using PhotoImpact 11.

XHTML


<div class="box"> <p class="floatright"><a class="thumbnail" href="#thumb">
<img src="../wd-tutimages/wd-wp.jpg" alt="" title="" width="200" height="100" />
<span><img src="../wd-tutimages/wd-wp2.jpg" alt="" />
<br /> Water Reflet tutorial.</span></a></p> </div>
<p class="bottom"><a class="int" href="http://woutersdesigns.com/pi/tutorials/wp/wp.html">
WATER REFLET</a><br />
Version: 11<br />
Level: Intermediate<br />
Description: Create a beautiful Water Reflet using PhotoImpact 11.</p>

CSS

.box {
margin: 0;
padding: 0;
}

.bottom {
padding-bottom: 75px;
}

.floatright {
float: right;
text-align: left;
margin: 0 35px 0 10px;
padding: 0;
display: inline;
}

.thumbnail{
position: relative;
z-index: 0;
}

.thumbnail:hover{
background-color: transparent;
z-index: 50;
}

.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: #C3CBE0;
padding: 5px;
left: -1000px;
border: 1px dashed #344015;
text-align: center;
visibility: hidden;
color: #344015;
text-decoration: none;
}

.thumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 2px;
}

.thumbnail:hover span{ /*CSS for enlarged image on hover*/
visibility: visible;
top: 0;
left: -200px; /*position where enlarged image should offset horizontally */
margin: auto;
}

Last updated:
Wednesday, 27-Feb-2008 03:13:38 MST

w3c xhtml 1.0

w3c css

© copyright: wouter's designs.
This document may not be translated, duplicated, redistributed or otherwise appropriated.