Print Page | Close Window

Include at bottom of page

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: General Discussion
Forum Description: General discussion and chat on any topic.
URL: https://forums.webwiz.net/forum_posts.asp?TID=5898
Printed Date: 30 March 2026 at 1:18am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Include at bottom of page
Posted By: pmormr
Subject: Include at bottom of page
Date Posted: 22 September 2003 at 3:40pm
I have this include file that contains my copyright information, active users, etc., I wish to have this file placed 5 <br>'s from the main part of my text. My only problem is that when I only use a few lines of text on a page, the copyright info is dead center of the page. Does anyone know how to place the include 5 <br>'s from the bottom of the text or place it at the bottom of the page?

-------------
Paul A Morgan

http://www.pmorganphoto.com/" rel="nofollow - http://www.pmorganphoto.com/



Replies:
Posted By: KCWebMonkey
Date Posted: 22 September 2003 at 6:39pm

set it in a table that has a height of 100%.

view the source of this page http://www.lawsonwebservices.com/other/table.asp - http://www.lawsonwebservices.com/other/table.asp  for an example.



Posted By: pmormr
Date Posted: 22 September 2003 at 8:06pm

Well, that worked about as well as a smoke detector with no batteries. You must remember that this is an include file, and that there's other stuff at the top of the page. This puts about 50 blank lines between my content and my copyright info...

--WHAT I WANT TO AVOID--

********************************
PAGE INFORMATION



COPYRIGHT INFO




*********************************

--WHAT I WANT NO MATTER WHAT--

*********************************
PAGE INFORMATION

 



COPYRIGHT INFO
*********************************

--WHAT IT DID WITH WHAT YOU TOLD ME TO DO--

SCR1-*****************************
PAGE INFO....

 

 

 

**********************************
SCR2-******************************

 

 

copyright info

**************************************
SCR3-*********************************

 

 

***************************************



-------------
Paul A Morgan

http://www.pmorganphoto.com/" rel="nofollow - http://www.pmorganphoto.com/


Posted By: KCWebMonkey
Date Posted: 22 September 2003 at 9:57pm

lol... the whole page needs to be set inside a table with a height of 100%, not just the part with the footer.

that was just an example of an empty page...

if you can post your code, maybe i can make it work for you.



Posted By: Sapien
Date Posted: 22 September 2003 at 10:26pm

If your placing the include inside a table, which is aligned in the center, the include will appear in the table, aligned center.

If it's not in the table, try a <div align="left"><!-- INCLUDE  --></div>

 

Can't help much more unless I see the code.



-------------
If you can't do it on your own, your not trying hard enough!


Posted By: pmormr
Date Posted: 23 September 2003 at 1:52pm

mainpagebottom.asp - the include i'm including...

<div align ="Center"> <font size="2"><br>
  <br>
  <br>
  <br>
  <br>
  <br>
  <br>
  </font>
  <table width="99%" border="0">
    <tr>
      <td width="33%"></td>
      <td width="33%">
        <div align="center"><font size="2"><a href="/default.htm" target="_parent">Home</a>
          | <a href="/privacypolicy.asp">Privacy Policy</a> |
          <a href="/contactus.asp">Contact Us</a><br>
          &copy; Copyright 2002-<%= year(now())%> Paul Morgan</font></div>
      </td>
      <td width="33%">
        <div align="right"><font color="#FFFFFF" size="2">There
          <%
    If Application("intActiveUserNumber") = 1 then
    Response.Write("is ")
    else
    Response.Write("are ")
          end if
    %>
          <%
    Response.Write Application("intActiveUserNumber")
    %>
          <%
    If Application("intActiveUserNumber") = 1 then
    Response.Write(" user")
    else
    Response.Write(" users")
    end if
    %>
          online.</font></div>
      </td>
    </tr>
  </table>
</div>

default3.htm - the page i'm including the page into... the full code is not allowed to be posted (there's some asp stuff at the top)

<html>
<head>
<title>*<title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body bgcolor="#000088" text="#FFFFFF" link="#FFFFFF" vlink="#FFFFFF" alink="#FFFFFF">
<tr bgcolor="#0099FF">
  <td>
 <table width="100%" border="0" cellspacing="0" cellpadding="0">
   <tr>
  <td bordercolor="#FFFFFF" bgcolor="#0000FF">
    <div align="center"> <font size="6">*</font></div>
  </td>
   </tr>
 </table>
  </td>
  <td>&nbsp;</td>
</tr>
<tr>
  <td bordercolor="#0099FF">
 <table width="100%" border="1" cellspacing="0" cellpadding="0">
      <tr>
        <td height="67" width="20%">
          <div align="center">*</div>
        </td>
        <td height="161" valign="top" colspan="2">
          <table width="100%" border="1" cellspacing="0" cellpadding="0" height="100%">
             <tr>
               <td colspan="3" height="2" valign="middle">
                 <div align="center">*.</div>
               </td>
             </tr>
             <tr>
               <td height="2" bgcolor="#0099FF" colspan="2" valign="middle">
                 <div align="center">Featured Joke</div>
               </td>
               <td height="1" bgcolor="#0099FF" valign="top">
                 <div align="center">Upcoming Developer Chats</div>
               </td>
             </tr>
             <tr>
               <td width="17%" height="4" valign="top" bgcolor="#0000CC">
                 <div align="center">
                   <p align="right">Name:<br>
                     Date Added:</p>
                 </div>
               </td>
               <td width="50%" height="50%" valign="top"><%= jname %><br>
                 <%= jda %><br>
                 <a href="_stuff/_jokes/joke_display.asp?id=<%= jlink %>" target="mainFrame">Click
                 here to view this joke</a></td>
               <td height="5" rowspan="25" valign="top">&nbsp;
<%
   While Not rsdc.eof
%>
<%= rsdc.fields("who")%> on <%= rsdc.fields("when")%><br>
<%
   rsdc.movenext
   Wend
%></td>
             </tr>
             <tr>
               <td height="15" bgcolor="#0099FF" colspan="2" valign="middle">
                 <div align="center">Featured Comic</div>
               </td>
             </tr>
             <tr>
               <td

-------------
Paul A Morgan

http://www.pmorganphoto.com/" rel="nofollow - http://www.pmorganphoto.com/



Posted By: Flamewave
Date Posted: 23 September 2003 at 3:54pm
<span style="position:absolute; z-index:1; left: 5px; bottom: 5px">blah blah blah</span>

-------------
- Flamewave

They say the grass is greener on the other side, but if you really think about it, the grass is greener on both sides.


Posted By: pmormr
Date Posted: 24 September 2003 at 3:31pm
i forgot about spans... i decided that i could use that for some of my pages that i know i won't use all the space... and change the position to position:relative for the stuff that i do use all the space...

-------------
Paul A Morgan

http://www.pmorganphoto.com/" rel="nofollow - http://www.pmorganphoto.com/



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net