I am working with layers and want 3 smaller images to overlay 1 larger image, which happens to be a background image of a table cell "TD". I successfully accomplished that task, however, when the size of the browser changes, such as when I "Restore Down" or double click the "Title Bar" of the browser, the 3 images are no longer over the background image, they are off to the right somewhere.
I want the 3 images to remain exactly where they were when the browser is maximized.
How is this accomplished?
Thanks in Advance!!!
Here is the code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Layers</title>
<style type="text/css">
#FirstLayer {position: absolute; left:375px; top:25px; z-index:3; width=72px; height=80px; border-style:none; border-width:1px;}
#SecondLayer {position: absolute; left:550px; top:25px; z-index:2; width=77px; height=80px; border-style:none; border-width:1px;}
#ThirdLayer {position: absolute; left:375px; top:205px; z-index:1; width=75px; height=80px; border-style:none; border-width:1px;}
</style>
</head>
<body>
<div id="FirstLayer"><img src="Images/Image1.gif" alt="1" width="72" height="80" border="0"></div>
<div id="SecondLayer"><img src="Images/Image2.jpg" alt="2" width="77" height="80" border="0"></div>
<div id="ThirdLayer"><img src="Images/Image3.jpg" alt="3" width="75" height="80" border="0"></div>
<table align="center" cellspacing="0" cellpadding="0" border="0" bgcolor="#869DE1">
<tr>
<td width="20" colspan="3"> </td>
</tr>
<tr>
<td width="20" rowspan="2"> </td>
<td width="225" height="249" rowspan="2" background="Images/bgImage1.jpg">
</td>
<td width="20" rowspan="2"> </td>
</tr>
<tr>
</tr>
<tr>
<td width="20" colspan="3"> </td>
</tr>
</table>
</body>
</html>
I want the 3 images to remain exactly where they were when the browser is maximized.
How is this accomplished?
Thanks in Advance!!!
Here is the code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Layers</title>
<style type="text/css">
#FirstLayer {position: absolute; left:375px; top:25px; z-index:3; width=72px; height=80px; border-style:none; border-width:1px;}
#SecondLayer {position: absolute; left:550px; top:25px; z-index:2; width=77px; height=80px; border-style:none; border-width:1px;}
#ThirdLayer {position: absolute; left:375px; top:205px; z-index:1; width=75px; height=80px; border-style:none; border-width:1px;}
</style>
</head>
<body>
<div id="FirstLayer"><img src="Images/Image1.gif" alt="1" width="72" height="80" border="0"></div>
<div id="SecondLayer"><img src="Images/Image2.jpg" alt="2" width="77" height="80" border="0"></div>
<div id="ThirdLayer"><img src="Images/Image3.jpg" alt="3" width="75" height="80" border="0"></div>
<table align="center" cellspacing="0" cellpadding="0" border="0" bgcolor="#869DE1">
<tr>
<td width="20" colspan="3"> </td>
</tr>
<tr>
<td width="20" rowspan="2"> </td>
<td width="225" height="249" rowspan="2" background="Images/bgImage1.jpg">
</td>
<td width="20" rowspan="2"> </td>
</tr>
<tr>
</tr>
<tr>
<td width="20" colspan="3"> </td>
</tr>
</table>
</body>
</html>