Hello gurus,
Please take a look at the code below.
It works well as is because it creates a header for this page.
Please take a look.
The problem is that when I try to add the same code to the web page below, the images are all over the place.
For instance, I am trying to replace this part of the second code above,
but when I run it, the header is all over the entire page.
Can you please help me.
I am truly, truly sorry for dumping this much code but I am not sure what could be causing the problem and wanted you to see it all.
Please take a look at the code below.
It works well as is because it creates a header for this page.
Please take a look.
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"[URL unfurl="true"]http://www.w3.org/TR/html4/strict.dtd">[/URL]
<html>
<head>
<meta http-equiv="Content-Type" content=
"text/html; charset=UTF-8">
<title>Menu</title>
<style type="text/css">
<!--
#menu2 {
background-color: #333333;
border: 1px solid #993333;
padding: 5px;
width:135px;
}
table{
list-style:none;
margin:0;
padding:5px;
border:none;
width: 550px
}
td {
background: url(bon.png) left no-repeat;
}
a{
display: block;
height: 35px;
background: url(boff.png) left no-repeat;
color: #666666;
font-weight: bold;
text-decoration: none;
padding-left: 15px;
margin-top: 5px;
}
a:hover {
background: transparent;
}
-->
</style>
</head>
<body>
<div id="menu2">
<table width="85%"><tr><td>
<a href="#"> Home</a>
</td><td>
<a href="#"> Choir</a>
</td><td>
<a href="#"> Register</a>
</td><td>
<a href="#"> Roster</a>
</td><td>
<a href="#"> Calendar</a>
</td><td>
<a href="#"> Luncheon News</a>
</td></tr></table>
</div>
</body>
</html>
The problem is that when I try to add the same code to the web page below, the images are all over the place.
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>AM Parishioners Organization</title>
<script language="JavaScript" src="adrotator.js">
</script>
</head>
<body leftmargin="0" rightmargin="0" marginheight="0" marginwidth="0" bgcolor="#F0F0E1" background="images/paper.jpg" onLoad="startTime();">
<div align="center">
<center>
<div ID="menu" STYLE="position:absolute; left:508px; top:154px; z-index:750;">
<table border="0" width="85%" cellspacing="0" cellpadding="0">
<tr>
<td>
<!--url's used in the movie-->
<!--text used in the movie-->
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="[URL unfurl="true"]http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"[/URL] width="120" height="70" id="maskingfinal" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="maskingfinal.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="maskingfinal.swf" quality="high" bgcolor="#ffffff" width="110" height="100" name="maskingfinal" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="[URL unfurl="true"]http://www.macromedia.com/go/getflashplayer"[/URL] />
</object>
</td>
</tr>
</table>
</div>
<div ID="menu1" STYLE="position:absolute; left:390px; top:0px; z-index:750;">
<a href="" onClick="clickLink(); return false;" onMouseOver="descript(); return true;" onMouseOut="window.status=''"><img src="picBanner.jpg" border=0 name="banner" width="210" height="75"></a>
</div>
<table border="0" width="85%" cellspacing="0" cellpadding="0" background="images/topbkg.jpg">
<tr>
<td width="34%"><img border="0" src="images/topleft.jpg"></td>
<td width="33%"><img border="0" src="images/logo.jpg"></td>
</center>
<td width="33%">
<p align="right"><img border="0" src="images/topright.jpg"></td>
</tr>
</table>
</div>
<div align="center">
<center>
<table border="0" width="85%" cellspacing="0" cellpadding="0" background="images/linebkg.jpg">
<tr>
<td width="70%">
<p align="center"><a href="index2.html"><img border="0" src="images/home1.jpg"></a><a href="choir.html"><img border="0" src="images/choir1.jpg"></a><a href="registrationForm.asp"><img border="0" src="images/member1.jpg"></a><a href="memberListings.asp"><img border="0" src="images/roster1.jpg"></a><a href="calendar/default.asp"><img border="0" src="images/schedules1.jpg"></a><a href="luncheon.asp"><img border="0" src="images/luncheon1.jpg"></a>
</td>
</center>
</tr>
</table>
</div>
<div align="center">
<center>
<table border="0" width="85%" cellspacing="0" cellpadding="0" background="images/white.jpg">
<tr>
<td width="100%">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="50%" valign="top">
<p style="margin-left: 30"><br>
<img border="0" src="images/welcome.jpg"></p>
<p style="margin-left: 40"><font face="Arial" size="2">This is the
AM Parishioners Organization Website. We are located at the St. Thomas
The Apostle Church premises at 4300 King Spring Road, S.E Smyrna Road, Smyrna, Georgia.</font></p>
<p style="margin-left: 40"><img border="0" src="images/aboutus.jpg"><br>
</td>
<td width="50%">
<p align="center"><img border="0" src="images/sttsmy01.jpg" width="170" height="150"></td>
</tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="100%">
<p style="margin-left: 40; margin-right: 40"><font face="Arial" size="2">The AM Parishioners Organization(APO) is a church affliated membership organization founded in March 2003 by Dr.Anthony Graham.
Though currently at its infancy stage, we have a wide range of ambitious ideas that have one purpose in focus - to cater for the need of all members.
This organization has the goal of offering its members opportunities to get to know each other better, improve networking opportunities and let the majesty of our voices be heard within the St. Thomas the Apostle Church community.
There are no age limits for joining.
<p> This Organization offers the following benefits to all:
<ul>
<li>A rich cultural and religious enrichment through musical expressions,
<li>An avenue for letting the majesties of our voices be heard with the St. Thomas Catholic Community,
<li>Excellent networking opportunities amongst members,
<li>Promote unity among all AMs,
<li>Come together as one to response to the needs of its members.
</ul>
</font>
</td>
</tr>
</table>
<p align="center">
<font face="Arial" size="1">© COPYRIGHT 2004 ALL RIGHTS RESERVED
Kenig Inc</font></td>
</tr>
</table>
</center>
</div>
<div align="center">
<center>
<table border="0" width="85%" cellspacing="0" cellpadding="0" background="images/blackbar.jpg">
<tr>
<td width="100%"><font size="1"> <img border="0" src="images/blackbar.jpg"></font></td>
</tr>
</table>
</center>
</div>
</body>
<!--
<script>
if(screen.width==1024)
{
document.getElementById("menu1").style.left="327px"
//change it till it aligns...
}
</script>
-->
<script>
if(screen.width==1024)
{
document.getElementById("menu").style.left="667px"
//change it till it aligns...
}
</script>
</html>
For instance, I am trying to replace this part of the second code above,
Code:
<div align="center">
<center>
<table border="0" width="85%" cellspacing="0" cellpadding="0" background="images/linebkg.jpg">
<tr>
<td width="70%">
<p align="center"><a href="index2.html"><img border="0" src="images/home1.jpg"></a><a href="choir.html"><img border="0" src="images/choir1.jpg"></a><a href="registrationForm.asp"><img border="0" src="images/member1.jpg"></a><a href="memberListings.asp"><img border="0" src="images/roster1.jpg"></a><a href="calendar/default.asp"><img border="0" src="images/schedules1.jpg"></a><a href="luncheon.asp"><img border="0" src="images/luncheon1.jpg"></a>
</td>
</center>
</tr>
</table>
</div>
but when I run it, the header is all over the entire page.
Can you please help me.
I am truly, truly sorry for dumping this much code but I am not sure what could be causing the problem and wanted you to see it all.