ladygnome Posted September 17, 2008 Share Posted September 17, 2008 Here is the situation. I am in charge of updating a web site that was done in PHP. I haven't learned PHP. I am managing to add stuff etc. However, this web site has done a funky thing and I can't seem to figure out why it's doing this or what to add. I kept the old code in case something went wonky, but nothing seems to have been left out yet it's doing this funky thing. If someone would look at the web site at www.livingspirit.ca and tell me what's up with the middle of the page where it drops down instead of being at the top and advise me on how to correct that, it would be greatly appreciated. Thanks, LG Quote Link to comment Share on other sites More sharing options...
kenrbnsn Posted September 17, 2008 Share Posted September 17, 2008 We can't help you unless you post some code. If you don't want to post the code, you probably want to hire someone who knows PHP to help you. If that's the case, post in the Freelance area. Ken Quote Link to comment Share on other sites More sharing options...
thesaleboat Posted September 17, 2008 Share Posted September 17, 2008 Sorry I'm Catholic. Quote Link to comment Share on other sites More sharing options...
thesaleboat Posted September 17, 2008 Share Posted September 17, 2008 Haha, but yes you will need to post code on here because when you view the page's source code it hides all of the php code. Quote Link to comment Share on other sites More sharing options...
ladygnome Posted September 17, 2008 Author Share Posted September 17, 2008 Sorry, Here's the code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head profile="http://www.w3.org/2005/11/profile"> <link rel="icon" type="images/png" href="images/favicon.png" /> <link href="lsu_styles.css" rel="stylesheet"/> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta name="Author" content="Michael Poon Design - michaelpoondesign.com" /> <meta name="keywords" content="living spirit, united church, reverend rita cattell, 629 49th Ave SW, calgary, churches, south churches, sunday, christianity, bible" /> <title>Living Spirit United Church - 629 49th Avenue SW Calgary, Alberta</title> </head> <body> <div id="main"> <div id="header"> <img id="banner_top" src="images/banner_index.jpg" styles="width:800px; height:119px;"/> <img id="banner_bottom" src="images/banner_bottom_index.gif" styles="width:800px; height:25px;" /> </div> <div id="right"> <p class="events_title">LSU Events</p> <p class="events_content">Coming in September...</p> <p class="events_heading">September 17th</p><p class="events_content">Spirit Quilters</p> <p class="events_heading">September 17th</p><p class="events_content">CGIT Starts</p> <p class="events_heading">September 18th</p><p class="events_content">Alzheimer Coffee</p> <p class="events_heading">September 21st</p><p class="events_content">Congregational Meeting</p> <p class="events_heading">September 24th</p><p class="events_content">Healing Touch</p> <p class="events_heading">September 25th</p><p class="events_content">Bridge begins</p> <p class="events_heading">September 28th</p><p class="events_content">Farewell Luncheon</p> <p class="events_heading">September 28/29th</p><p class="events_content">Perogy Making begins</p> <!--snippets code--> <table border="1" cellpadding="0" cellspacing="0" width="150px" bgcolor="#ffffff" bordercolor="#000000"> <tr> <td width="160"><div align="left"> <table border="1" cellpadding="0" cellspacing="0" width="150"> <tr> <td width="100%" bgcolor="#ffffff"><center><a href="http://www.christianwomenonline.net/index2.htm"> <img border="1" src="http://christianwomenonline.net/Angelsnippet.jpg"></a></td> </tr> <tr> <td width="100%" cellpadding="8" bgcolor="#cccc66" align="center"><p style="margin-left: 5; margin-right: 5"><font SIZE="2"><font face="Arial"><font color="#000000"> <br> <SCRIPT LANGUAGE="JavaScript" SRC="http://www.christianwomenonline.net/snippets.js"> </SCRIPT> </font> <br> </font> </font> </td> </tr> </table> </div></td> </tr> </table> <span class="style99"><u><a href="http://www.christianwomenonline.net/snippets.html">Add Snippets to your site</a></u></span> <p><a href="http://www.innfromthecold.ca"><img border="0" src="http://www.livingspirit.ca/images/innfromthecold.gif"/></a><p class="inline"> <p><a href="http://www.wondercafe.ca"><img border="0" src="http://www.livingspirit.ca/images/wondercafe_logo_small.jpg"></a><p class="inline"></p> <!-- <img class="Fair" src="http://www.livingspirit.ca/images/neighbourlink.jpg"/><a href="http://www.neighbourlink.ca"</a><hr /><p class="inline"></P>--> <!--<p class="scipture"><strong>A Prayer For The Summer</strong></p> <p class="scripture">Long warm days...<br /> The pace of life slows...<br /> A time for picnics and rest in the shade...<br /> Lord,<br /> help me to rest awhile<br /></p> <p class="scripture">in the cooling shade of your presence.<br /> Slow down my restless heart<br /> and fill me with gentle compassion <br /> for all your people.<br /></p> <p class="scripture">Amen.</p>--> </div><?php include('includes/nav.html');?> <div id="center"><p class="heading">Welcome to Living Spirit United Church</p><hr /> <p><strong>Our Vision</strong> is lives and communities transformed by the love of Christ working among us.</p><p><strong>Our Mission</strong> is to be a community that loves God by meeting people where they are.</p> <a id="index"></a> <a id="index"></a> <p class="heading2">Church Bulletin</p><hr class="bulletin" /> <p><center>Our services begin at 10:00 a.m.</p> Office Hours are 8:30 a.m. - 4:30 p.m.,<br>Monday - Friday</p></center></strong><br> <center></p> <p class="heading3">Coming this Fall to Living Spirit United Church: "Experiencing Jesus"</p> <p class="heading4">Please see our Events page for details on our groups and events.</p><strong> <img class="Fair" src="http://www.livingspirit.ca/images/lsuffaSmall.jpg"/><hr /><p class="inline"></center> <br><p>Auction Items as of September 15, 2008:<br> <br> Granny Footstool<br> Rocking Horses<br> Ceramic Branch Jar<br> Ceramic Plant Pot with plant<br> Custom Family stamp<br> Customer Gift Card Order (retailers)<br> Healing Touch Sessions<br> 1 Pie a Month for 6 Months<br> 2 Hours Computer Problems Assistance<br> 1 Dozen Muffins Per Month for 1 Year<br> Exerglide Machine<br> Hand Woven Shawl<br> Wine Classes<br> Gluten-Free Christmas Baking (Fruitcake, Meringues, Tarts, Cookies)<br> </p> </div> <?php include('includes/bottom_nav.html');?> </body> </html> Quote Link to comment Share on other sites More sharing options...
thesaleboat Posted September 17, 2008 Share Posted September 17, 2008 Look at the image (attachment) to see some of the issues i received after validating. [attachment deleted by admin] Quote Link to comment Share on other sites More sharing options...
thesaleboat Posted September 17, 2008 Share Posted September 17, 2008 http://validator.w3.org/check?uri=http%3A%2F%2Fwww.livingspirit.ca%2F&charset=%28detect+automatically%29&doctype=Inline&group=0 Not all of these warnings / errors are vital to fix, such as, the bgcolor will still be understood even though it says there is not a bgcolor attribute and things of that nature, when i upload your code into dreamweaver it seems to be having a problem with the <div id="main"> and your <center> </center> also on line 84 change this <p class="heading4">Please see our Events page for details on our groups and events.</p><strong> to this <p class="heading4"><strong>Please see our Events page for details on our groups and events.</strong></p> and on line 36-37 change this <td width="100%" bgcolor="#ffffff"><center><a href="http://www.christianwomenonline.net/index2.htm"> <img border="1" src="http://christianwomenonline.net/Angelsnippet.jpg"></a></td> to this <td width="100%" bgcolor="#ffffff"><center><a href="http://www.christianwomenonline.net/index2.htm"> <img border="1" src="http://christianwomenonline.net/Angelsnippet.jpg"></a></center></td> Quote Link to comment Share on other sites More sharing options...
ladygnome Posted September 18, 2008 Author Share Posted September 18, 2008 Thank you for your suggestions. I have made those two changes, but the Welcome portion of the web site is still dropping low on the page. I am not using Dreamweaver, just FTP. Anything else you can think of? Quote Link to comment Share on other sites More sharing options...
ladygnome Posted September 18, 2008 Author Share Posted September 18, 2008 OK, this is interesting. I removed the code for the Inn from the Cold and Cafe (right border) and the middle poppped back up to the top. So something is wrong in that area of the code. I would like to have those graphic links there though. Your help is greatly appreciated. Quote Link to comment Share on other sites More sharing options...
thesaleboat Posted September 18, 2008 Share Posted September 18, 2008 Wow, alright I just put some time into this one, you had a lot of mismatched closing and opening errors in the page, so i went through the entire thing... try this out. Hope it helps, if not, im out of solutions as i cannot see it how it should truely look because i don't have any of the css files so its all jumbled on my screen. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head profile="http://www.w3.org/2005/11/profile"> <link rel="icon" type="images/png" href="images/favicon.png" /> <link href="lsu_styles.css" rel="stylesheet"/> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta name="Author" content="Michael Poon Design - michaelpoondesign.com" /> <meta name="keywords" content="living spirit, united church, reverend rita cattell, 629 49th Ave SW, calgary, churches, south churches, sunday, christianity, bible" /> <title>Living Spirit United Church - 629 49th Avenue SW Calgary, Alberta</title> </head> <body> <div id="main"> <div id="header"> <img id="banner_top" src="images/banner_index.jpg" styles="width:800px; height:119px;"/> <img id="banner_bottom" src="images/banner_bottom_index.gif" styles="width:800px; height:25px;" /> </div> <div id="right"> <p class="events_title">LSU Events</p> <p class="events_content">Coming in September...</p> <p class="events_heading">September 17th</p><p class="events_content">Spirit Quilters</p> <p class="events_heading">September 17th</p><p class="events_content">CGIT Starts</p> <p class="events_heading">September 18th</p><p class="events_content">Alzheimer Coffee</p> <p class="events_heading">September 21st</p><p class="events_content">Congregational Meeting</p> <p class="events_heading">September 24th</p><p class="events_content">Healing Touch</p> <p class="events_heading">September 25th</p><p class="events_content">Bridge begins</p> <p class="events_heading">September 28th</p><p class="events_content">Farewell Luncheon</p> <p class="events_heading">September 28/29th</p><p class="events_content">Perogy Making begins</p> <!--snippets code--> <table border="1" cellpadding="0" cellspacing="0" width="150px" bgcolor="#ffffff" bordercolor="#000000"> <tr> <td width="160"><div align="left"> <table border="1" cellpadding="0" cellspacing="0" width="150"> <tr> <td width="100%" bgcolor="#ffffff"><center><a href="http://www.christianwomenonline.net/index2.htm"> <img border="1" src="http://christianwomenonline.net/Angelsnippet.jpg"/></a></center></td> </tr> <tr> <td width="100%" cellpadding="8" bgcolor="#cccc66" align="center"><p style="margin-left: 5; margin-right: 5"><font size="2"><font face="Arial"><font color="#000000"> <br/> <SCRIPT LANGUAGE="JavaScript" SRC="http://www.christianwomenonline.net/snippets.js"> </SCRIPT> </font><br/></font></font></p></td> </tr> </table> </div></td> </tr> </table> <span class="style99"><u><a href="http://www.christianwomenonline.net/snippets.html">Add Snippets to your site</a></u></span> <p class="inline"><a href="http://www.innfromthecold.ca"><img border="0" src="http://www.livingspirit.ca/images/innfromthecold.gif"/></a></p> <p class="inline"><a href="http://www.wondercafe.ca"><img border="0" src="http://www.livingspirit.ca/images/wondercafe_logo_small.jpg"/></a></p> <!-- <img class="Fair" src="http://www.livingspirit.ca/images/neighbourlink.jpg"/><a href="http://www.neighbourlink.ca"</a><hr /><p class="inline"></P>--> <!--<p class="scipture"><strong>A Prayer For The Summer</strong></p> <p class="scripture">Long warm days...<br /> The pace of life slows...<br /> A time for picnics and rest in the shade...<br /> Lord,<br /> help me to rest awhile<br /></p> <p class="scripture">in the cooling shade of your presence.<br /> Slow down my restless heart<br /> and fill me with gentle compassion <br /> for all your people.<br /></p> <p class="scripture">Amen.</p>--> </div> <?php include('includes/nav.html');?> <div id="center"><p class="heading">Welcome to Living Spirit United Church</p><hr /> <p><strong>Our Vision</strong> is lives and communities transformed by the love of Christ working among us.</p><p> <strong>Our Mission</strong> is to be a community that loves God by meeting people where they are.</p> <a id="index"></a> <p class="heading2">Church Bulletin</p><hr class="bulletin" /> <p><center>Our services begin at 10:00 a.m.</center></p> <p><center><strong>Office Hours are 8:30 a.m. - 4:30 p.m.<br/>Monday - Friday</strong></center></p><br/> <p class="heading3">Coming this Fall to Living Spirit United Church: "Experiencing Jesus"</p> <strong><p class="heading4">Please see our Events page for details on our groups and events.</p></strong> <p class="inline"><img class="Fair" src="http://www.livingspirit.ca/images/lsuffaSmall.jpg"/><hr /> <br/>Auction Items as of September 15, 2008:<br/> <br/> Granny Footstool<br/> Rocking Horses<br/> Ceramic Branch Jar<br/> Ceramic Plant Pot with plant<br/> Custom Family stamp<br/> Customer Gift Card Order (retailers)<br/> Healing Touch Sessions<br/> 1 Pie a Month for 6 Months<br/> 2 Hours Computer Problems Assistance<br/> 1 Dozen Muffins Per Month for 1 Year<br/> Exerglide Machine<br/> Hand Woven Shawl<br/> Wine Classes<br/> Gluten-Free Christmas Baking (Fruitcake, Meringues, Tarts, Cookies)<br/> </p> </div> <?php include('includes/bottom_nav.html');?> </div> </body> </html> Quote Link to comment Share on other sites More sharing options...
ladygnome Posted September 18, 2008 Author Share Posted September 18, 2008 Thank you for your time in checking this out. Quote Link to comment Share on other sites More sharing options...
thesaleboat Posted September 18, 2008 Share Posted September 18, 2008 it didn't work did it? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.