Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Include at bottom of page
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Include at bottom of page

 Post Reply Post Reply
Author
pmormr View Drop Down
Senior Member
Senior Member


Joined: 06 January 2003
Location: United States
Status: Offline
Points: 1479
Post Options Post Options   Thanks (0) Thanks(0)   Quote pmormr Quote  Post ReplyReply Direct Link To This Post Topic: Include at bottom of page
    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?
Back to Top
KCWebMonkey View Drop Down
Senior Member
Senior Member
Avatar
Go Chiefs!

Joined: 21 June 2002
Status: Offline
Points: 1319
Post Options Post Options   Thanks (0) Thanks(0)   Quote KCWebMonkey Quote  Post ReplyReply Direct Link To This Post 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 for an example.



Edited by KCWebMonkey
Back to Top
pmormr View Drop Down
Senior Member
Senior Member


Joined: 06 January 2003
Location: United States
Status: Offline
Points: 1479
Post Options Post Options   Thanks (0) Thanks(0)   Quote pmormr Quote  Post ReplyReply Direct Link To This Post 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-*********************************

 

 

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

Back to Top
KCWebMonkey View Drop Down
Senior Member
Senior Member
Avatar
Go Chiefs!

Joined: 21 June 2002
Status: Offline
Points: 1319
Post Options Post Options   Thanks (0) Thanks(0)   Quote KCWebMonkey Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
Sapien View Drop Down
Newbie
Newbie


Joined: 19 October 2002
Location: Canada
Status: Offline
Points: 37
Post Options Post Options   Thanks (0) Thanks(0)   Quote Sapien Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
pmormr View Drop Down
Senior Member
Senior Member


Joined: 06 January 2003
Location: United States
Status: Offline
Points: 1479
Post Options Post Options   Thanks (0) Thanks(0)   Quote pmormr Quote  Post ReplyReply Direct Link To This Post 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" target="_blank">Privacy Policy</a> |
          <a href="/contactus.asp" target="_blank">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

Back to Top
Flamewave View Drop Down
Senior Member
Senior Member
Avatar

Joined: 19 June 2002
Location: United States
Status: Offline
Points: 376
Post Options Post Options   Thanks (0) Thanks(0)   Quote Flamewave Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
pmormr View Drop Down
Senior Member
Senior Member


Joined: 06 January 2003
Location: United States
Status: Offline
Points: 1479
Post Options Post Options   Thanks (0) Thanks(0)   Quote pmormr Quote  Post ReplyReply Direct Link To This Post 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...
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.