Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Other Web Development (https://www.askmehelpdesk.com/forumdisplay.php?f=467)
-   -   I only see my header and not my footer. (https://www.askmehelpdesk.com/showthread.php?t=474947)

  • May 31, 2010, 02:41 AM
    Scotty13
    I only see my header and not my footer.
    WHEN I PULL UP MY WEBSITE IN MY BROWSER, THEY ONLY SEE IS MY HEADER AND NOT MY FOOTER.

    THIS IS MY INTEX.HTML IN MY WEBSITE FOLDER....

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>My Web Site</title>
    <style type="text/css">
    <!--
    .centerheader {
    text-align: center;
    }
    -->
    </style></head>

    <body>

    <div class="centerheader">
    <script language="JavaScript" type="text/javascript">
    AC_FL_RunContent(
    'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0',
    'width', '950',
    'height', '177',
    'src', 'header',
    'quality', 'high',
    'pluginspage', 'http://www.adobe.com/go/getflashplayer',
    'align', 'middle',
    'play', 'true',
    'loop', 'true',
    'scale', 'showall',
    'wmode', 'window',
    'devicefont', 'false',
    'id', 'header',
    'bgcolor', '#ffffff',
    'name', 'header',
    'menu', 'true',
    'allowFullScreen', 'false',
    'allowScriptAccess','sameDomain',
    'movie', 'header',
    'salign', ''
    ); //end AC code
    </script>
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="950" height="177" id="header" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="allowFullScreen" value="false" />
    <param name="movie" value="root/header.swf" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#ffffff" />
    <embed src="root/header.swf" quality="high" bgcolor="#ffffff" width="950" height="177" name="header" align="middle" allowscriptaccess="sameDomain" allowfullscreen="false" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" />
    </object>
    </div>
    <span class="centerheader"></span>

    </body>
    </html>


    THIS IS MY INTEX.HTML IN MY ROOT FOLDER....

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="Description" content="My web Site" />
    <meta name="Keywords" content="my, web, site" />
    <meta name="rating" content="General" />
    <meta name="revisit-after" content="7 days" />
    <meta name="ROBOTS" content="All" />
    <title>My Web Site</title>
    <link href="style/main.css" rel="stylesheet" type="text/css" />
    <link rel="icon" href="http://www.myglobalpnr.com/favicon.ico" type="image/x-icon" />
    <link rel="shortcut icon" href="http://www.myglobalpnr.com/favicon.ico" type="image/x-icon" /></head>
    </head>

    <body>
    <?php include_once "header_template.php"; ?> (Its not in color like it should be)
    <table width="950" align="center">
    <tr>
    <td width="758" valign="top"><p class="bluetext">&nbsp;</p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p>Home</p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p>&nbsp;</p></td>
    <td width="180" valign="top"><h1>&nbsp;</h1></td>
    </tr>
    </table>
    <?php include_once "footer_template.php"; ?> (Its not in color like it should be)
    </body>
    </html>


    THANKS IN ADVANCE FOR YOUR HELP IN ADVANCE,

    SCOTTY13
  • Jul 2, 2010, 07:33 PM
    dandemeyere
    Hello,

    You're listing two HTML files but in the second one you're including 2 PHP files. Can you post the contents of each PHP file as the code inside of them might be breaking your HTML page and therefore not displaying the footer.

    Best,
    Dan

  • All times are GMT -7. The time now is 01:58 AM.