View Single Post
04-22-2006, 06:22 AM
#10
xxkylexx is offline xxkylexx
Status: Member
Join date: Apr 2006
Location:
Expertise:
Software:
 
Posts: 181
iTrader: 0 / 0%
 

xxkylexx is on a distinguished road

  Old

Any idea why I am getting this in IE only? Works great with other browsers.




Code used:
Code:
{{* ---A loop for each thumbnail---- *}}
<table width="100%">
	<tr>
		<td align="center" valign="top">
		{{section name=id loop=$image_name}}
		<div class="outer">
			<div class="middle">
				<div class="inner">
					<a href="javascript:image_details_popup('details.php?name={{$image_name[id]}}', 675, 450)"><img src="images/{{$username}}/-{{$image_name[id]}}.png" style="border:1px solid #000000 " /></a><br />
					<small>{{$image_name[id]}}<br />
					{{$time_uploaded[id]}}</small>
				</div>
			</div>
		</div>
		{{/section}}
		</td>
	</tr>
</table>

CSS bit:
Code:
/* ~~~Start Vert Align of Div's~~~ */

.outer{
	float: left;
	width: 120px;
	height: 150px;
	overflow: hidden;
	position: relative;
	border: 1px dashed #d0dbe9;
	}
	
.outer[class]{
	display: table;
	position: static;
	}

.middle{
	position: absolute;
	top: 50%;
	} /* for explorer only*/
	
.middle[class]{
	display: table-cell;
	vertical-align: middle;
	position: static;
	}

.inner{
	position: relative;
	top: -50%
	} /* for explorer only */

.inner[class]{
	position: static;
	text-align: center;
	}

/* ~~~End Vert Align of Div's~~~ */



Thanks, yet again.