Jump to content

Can't see footer


kvnirvana

Recommended Posts

Any idea why I can't see the footer on my index page?

 

this is index.php

 

<!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>Seare</TITLE>
<script language="JavaScript">function parentTop(){    parent.window.location.hash = '#top';}</script>
<script language="JavaScript">
<!--
function calcHeight()
{
//find the height of the internal page
var the_height=
document.getElementById('the_iframe').contentWindow.
document.body.scrollHeight;

//change the height of the iframe
document.getElementById('the_iframe').height=
the_height;
}
//-->
</script>
<style type="text/css">

#nav-menu ul
p { font-family: verdana ; }

p { font-size: 20px; }
{

list-style: none;
padding: 0;
margin: 0;
}

#nav-menu li
{
float: left;
margin: 0 0.15em;
}

#nav-menu li a
{

height: 2em;
line-height: 2em;
float: left;
width: 10em;
display: block;
color: #000000;
text-decoration: none;
text-align: center;
border-bottom: 1px solid white;  
}

/* Hide from IE5-Mac \*/
#nav-menu li a
{
float: none
}
/* End hide */

#nav-menu
{
width:90em
} 

</style>

</HEAD>

<BODY >
<p id="start"></p>
<DIV style="position:absolute;left:0px;top:0px;width:100%;height:100%;z-index:1" align="left">
<TABLE width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<img src="seare.jpg" width="1259" height="170" />

</TABLE></DIV>



<div id="nav-menu" style="position:absolute;center:0px;top:143px;width:100%;height:100%;z-index:1" align="left">
<ul>
<li><a href="fode.php" target="kasp"><p>Fode</p></a></li>
<li><a href="sg.php" target="kasp"><p>Sing</p></a></li>
<li><a href="bed.php" target="kasp"><p>Bed</p></a></li>
<li><a href="orog.php" target="kasp"><p>Orog</p></a></li>
<li><a href="/wordpress/" target="kasp"><p>Blog</p></a></li>
<li><a href="tilannce.php" target="kasp"><p>Til annoer</p></a></li>
<li><A href="takt.php" target="kasp"><p>takt</p></a></li>
</ul>
</div> 
<DIV style="position:absolute;center:0px;top:165px;width:100%;height:100%;z-index:1" align="left"><TABLE width="100%" height="100%" border="0" cellpadding="0" cellspacing="1"><TR><TD align="left" valign="top" width="100%" height="40"><FONT style="font-size:16px" color="#000000" face="Arial"><B><hr></B></FONT></TD></TR></TABLE></DIV>

<iframe width="100%" id="the_iframe" name="kasp" onLoad="calcHeight();" style="position:absolute;center:1px;top:175px;z-index:1" src="forside.php" scrolling="NO" frameborder="0" height="1"> iframe capable browser is required to view this web site.</iframe>



</BODY>
</HTML>
<?php include 'footer.php'; ?>

 

This is footer.php

 

<hr>
<small>Copyright 2008 My Site</small><br>
</body>
</html>

Link to comment
Share on other sites

view source shows this

 

<!doctype html public "-//W3C//DTD HTML 4.0 //EN">
<html>
<head>
       <title>Title here!</title>
</head>
<body>
<!-- Table markup-->

<table id="forside" CELLSPACING=10>

<!-- Table header -->

	<thead>
		<tr>
			<th scope="col" id="..."></th>

		</tr>
	</thead>

<!-- Table footer -->

	<tfoot>
        <tr>
              <td></td>
        </tr>
	</tfoot>

<!-- Table body -->

	<tbody>
		<tr>
			<td id="image"  BACKGROUND="forsideny.jpg" width="900" height="600"></td>

<td id="tdimage"  BACKGROUND="forside1.jpg" width="290" height="600"></td>	
		</tr>

	</tbody>

</table>

 

If I use fixed instead of absolute  it shows the footer, but then the page is messed up

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.