hey guys,

i've built an image gallery and i'm using the hoverbox css technique if any of you know it

here's mine : Photo Galleries - Dun Laighaire Marina - Power Boats - Yachts - Berths

if you mouseover the images they should expand..

something along the lines of

.class {display:none;}
.class:hover {display:block}

works fine in opera, firefox, ie7 etc but in ie6 the images don't revert to their normal sizes.

any help is much appreciated.

ps here's the hoverbox css
PHP Code:
.hoverbox
{
 
cursor: default;
 list-
stylenone;
 
padding0px;
 
margin0px;
}
.
hoverbox a
{
 
cursorhand;
}
.
hoverbox a .preview
{
 
displaynone;
}
.
hoverbox a:hover .preview
{
 
displayblock;
 
positionabsolute;
 
top: -33px;
 
left: -25px;
 
z-index1;
}
.
hoverbox img
{
 
background#ffffff;
 
border-color#aaa #ccc #ddd #bbb;
 
border-stylesolid;
 
border-width1px;
 
colorinherit;
 
padding2px;
 
vertical-aligntop;
 
width100px;
 
height67px;
}
.
hoverbox li
{
 
displayinline;
 
floatleft;
 
margin1px;
 
padding-left20px;
 
positionrelative;
 
width112px;
 
height94px;
 
text-aligncenter;
 
line-height18px;
}
.
hoverbox .preview
{
 
border-color#3E96FF;
 
width192px;
 
height128px;

and here's my main css
PHP Code:
/* CSS Document */
body{
 
top0px;
 
background-imageurl(../images/waterhead.gif);
 
background-repeatrepeat-x;
 
background-position0px 0px;
 
background-color#00749B;
 
font-familyarial;
 
color:#FFFFFF;
}
{color:#FFFFFF;}
h1 {font-size:13px;
font-weight:bold;
margin2px;
margin-left0px;
}
.
link{
color:#ffffff;
text-decoration:none;
}
.
link:hover{
color:#50A4D1;
text-decoration:none;
}
.
adminlink{
color:#ffffff;
text-decoration:none;
}
.
adminlink:hover{
color:#000066;
text-decoration:none;
}
h2 {font-size:12px;
font-weight:bold;
margin2px;
margin-left0px;
}

#header {
position:absolute;
 
margin-left: -400px;
 
left50%;
 
padding0px;
 
height85px;
 
width800px;
 
top20px;
}
.
toplink {
 list-
style-type:none;
 
font-family:arial;
 
font-size10px;
 
text-decoration:none;
 
color:#ffffff;
}
.
toplink:hover {
 list-
style-type:none;
 
font-size10px;
 
text-decoration:none;
 
color:#6AB5FF;
}
#topnav {
 
width680px;
 
margin-left: -305px;
 
positionabsolute;
 
left50%;
 
height10px;
 
top:65px;
 
text-align:right;
}
#topnav li {
 
list-style-type:none;
 list-
style:none;
 
margin0;
 
display:inline;
 
padding-left15px;
 }
#maincontentborder {
position:absolute;
top120px;
background#2383a3;
width840px;
margin-left: -420px;
left:50%;
height500px;
background-image:url(../images/botgrad.gif);
 
background-repeatrepeat-x;
 
background-positionbottom;
}
#outertopleft {
 
font-size:4px;
 
float:left;
 
width10px;
 
height10px;
 
background-color:#00749B;
 
background-image:url(../images/tl.gif);
 
background-repeat:no-repeat;
 }
 
#outertopright {
 
float:right;
 
font-size:4px;
 
width10px;
 
height10px;
 
top0px;
 
margin-right0px;
 
padding-right:0px
 
background:url(../images/tr.gif#00749B no-repeat;
 
}
#innertl {
 
float:left;
 
width10px;
 
height15px;
 
top0px;
 
background-color:#2383a3;
 
padding0px;
 
overflow:hidden;
 
background-image:url(../images/tlinner.gif);
 
background-repeat:no-repeat;
}
#innertr {
 
position:absolute;
 
width15px;
 
height15px;
 
top0px;
 
left790px;
 
visibilityvisible;
 
background-color:#2383a3;
 
background-image:url(../images/trinner.gif);
 
background-repeat:no-repeat;
  }

#mainnav {
margin-top:10px;
margin-left:30px;
width:auto;
}
#mainnav ul {
display:inline;
list-
style:none;
list-
style-type:none;
padding:0px;
margin-left:0px;
margin-top:0px;
}
#mainnav li {
display:inline;
list-
style:none;
list-
style-type:none;
padding0px;
}
.
mainnavlinksplit {
font-size:10px;
color:#50A4D1;
padding-left15px;
padding-right15px;
bottom4px;
}
.
mainnavlink{
font-family:Arial;
font-size:14px;
color:#ffffff;
text-decorationnone;
list-
style-type:none;
display:inline;
font-weight:bold;
}
.
mainnavlink:hover{
font-family:Arial;
font-size:14px;
font-weight:bold;
color:#50A4D1;
text-decorationnone;
list-
style-type:none;
display:inline;
}
#maincontent {
position:absolute;
top20px;
background#00749B;
width800px;
margin-left: -400px;
left:50%;
height142%;
margin-bottom:0px
}
#content1 {
heightauto;
}
.
content2 {
float:left;
position:relative;
margin-top:10px;
width450px;
heightauto;
background-color:#2383a3;
}
#sidecontent1 {
heightauto;
background-color:#2383a3;
}
.
sidecontent2 {
margin-top:10px;
heightauto;
background-color:#2383a3;
}
.
conttl {
 
width10px;
 
height10px;
 
font-size4px;
 
margin-top0px;
 
floatleft;
 
background-color:#00749B;
 
padding0px;
 
background-image:url(../images/tl.gif);
 
background-repeat:no-repeat;
}
.
contbl {
 
width10px;
 
height10px;
 
bottom0px;
 
font-size4px;
 
left0px;
 
background-color:#00749B;
 
padding0px;
 
background-image:url(../images/bl.gif);
 
background-repeat:no-repeat;
}
.
conttr {
 
width10px;
 
height10px;
 
font-size4px;
 
margin-top0px;
 
floatright;
 
background-color:#00749B;
 
padding0px;
 
background-image:url(../images/tr.gif);
 
background-repeat:no-repeat;
}
.
contbr {
 
width10px;
 
height10px;
 
float:right;
 
margin-top: -10px;
  
font-size4px;
  
background-color:#00749B;
 
padding0px;
 
background-image:url(../images/br.gif);
 
background-repeat:no-repeat;
}
.
contenttext {
position:relative;
padding10px;
font-size12px;
text-align:justify;
}
#leftcontents {
float:left;
margin-top10px;
margin-left20px;
width450px;
height:auto;
display:inline;}
#rightcontents {
float:left
width290px;
display:inline;
height:auto;
padding-left:20px;
padding-top:10px;
}
#whatnetworks {
clear:both;
font-size:9px;
padding-top:10px;
}
.
smalltext font-size:10px;}
#centrecontents {
float:left
width820px;
display:inline;
height:auto;
padding-left:20px;
padding-top:10px;
}
.
centrecontent {
margin-top:10px;
width760px;
heightauto;
background-color:#2383a3;