Guys I creating a layout with several different pictures. but when I put them on the site they stack on top of each other. They should be in their respective places on the layout.
Instead when I load them, they bunch up in the middle one of top of the other.
I tried using the z-index(see code below) but I can't get it to work.
Here's my code:
<html>
<head><TITLE>This is the Title</TITLE></head>
<style type="text/css">
body {
text-align: center;
}
#container {
margin: 0 auto;
width: 1024px;
}
#toppage {
position: relative;
top: 0px;
left: 0px;
z-index: 10;
}
#picture {
position: relative;
top: 30px;
left: 0px;
z-index: 20;
}
#nextpicture {
position: relative;
top: 0px;
left: 325px;
z-index: 30;
}
</style>
<div id="container">
<body bgcolor="white">
<div id='toppage'><p align="center"><img src="headerpicture"</p></div>
<div id='picture'><p align="center"><img src="picture1"/></p></div>
<div id='nextpicture'><p><img src="picture2"/></p></div>
</body>
</div>
</html>