I have double checked and triple checked, but I cannot figure out why my second image (the picture in div.top2) is not displaying. The spelling is right. I have attached the files.
Also is there a way of aligning all the pictures towards the centre with the wording beneath lined up nicely as well?
Thanks for any help,
Mary
Expand|Select|Wrap|Line Numbers
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
- <HTML>
- <HEAD>
- <TITLE>Second Page</TITLE>
- <STYLE type="text/css">
- div#container
- {
- width: 800px;
- background-color: black;
- position: relative;
- margin-top: 0px;
- margin-left: auto;
- margin-right: auto;
- <p>
- }
- div.inside
- {
- float: left;
- }
- div.top1
- {
- height: 585px;
- width: 400px;
- background-color: black;
- float: left;
- }
- div.top2
- {
- height: 585px;
- width: 400px;
- background-color: black;
- float: right;
- clear: right;
- }
- div.bottom1
- {
- height: 100px;
- width: 400px;
- background-color: black;
- float: left;
- clear: left;
- }
- div.bottom2
- {
- height: 100px;
- width: 100px;
- background-color: black;
- float: left;
- }
- </style>
- </head>
- <body bgcolor="black">
- <BGSOUND src="../heartbeat.wav" loop="-1">
- <div class="container" align=center>
- <font face="Bloodsuckers" size="7" color="#FF0000">Haunted House and Haunted Castle</font></p>
- <IMG src="bloodybar.gif" alt="" border="0" width="800" height="24" style="position:relative;">
- <div class="top1"><a href="hauntedhouse1.htm"><IMG src="http://bytes.com/images/hauntedhouse.jpg" alt="link to interior views for haunted house" border="0" width="400" height= "585"></a>
- </div>
- <div class="top2"><a href="hauntedcastle1.htm"><IMG src="http://bytes.com/images/hauntedcastle.jpg" alt="link to interior views for haunted castle" border="0" width="400" height="585"></a>
- </div>
- <div style="clear: left"></div>
- <div class="bottom1"><a href="hauntedhouse1.htm"><font color="#FF0000">Haunted House--Click for Interior View</font></a>
- </div>
- <div style="bottom2"><a href="hauntedcastle1.htm"><font color="#FF0000">Haunted Castle--Click for Interior View</font></a>
- </div>
- </div>
- <div align="center">
- <p><P><P> <b><font color="#FF0000"><a href="index.htm"><font color="#FF0000">Home</font></a>
- </div>
- </BODY>
- </HTML>