Is this what you have in mind?
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<!--
Widths in a table-cell are only a "suggestion".
-->
<head>
<title>template</title>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="content-language" content="en-us">
<meta http-equiv="content-style-type" content="text/css">
<style type="text/css">
body {
background-color:#bdf;
padding:0;
margin:0;
}
.canvas {
background-color:#fff;
width:740px;
overflow:hidden;
padding:10px;
margin:0 auto;
}
.edgeleft,
.edgeright {
display:table;
border:1px solid #888;
overflow:hidden;
}
.edgeleft {
clear:left;
float:left;
}
.edgeright {
clear:right;
float:right;
}
.tablecell {
display:table-cell;
width:1px;
}
img {
display:block;
background-color:#ccc;
}
</style>
</head>
<body>
<div class="canvas">
<div class="edgeleft">
<div class="tablecell">
<img src="img.jpg" alt="" width="300" height="200">
<p>This is the caption for this image. This is the caption for this image.</p>
</div>
</div>
<div class="edgeright">
<div class="tablecell">
<img src="img.jpg" alt="" width="400" height="200">
<p>This is the caption for this image. This is the caption for this image.</p>
</div>
</div>
<div class="edgeleft">
<div class="tablecell">
<img src="img.jpg" alt="" width="500" height="200">
<p>This is the caption for this image. This is the caption for this image.</p>
</div>
</div>
</div>
</body>
</html>
Bookmarks