Gossamer Forum
Home : Products : DBMan : Customization :

Netscape Display

Quote Reply
Netscape Display
Think I've tried every imaginable combination of <TABLE><TR><TD></TD></TR></TABLE> I can think of with my database at http://www.izmirhigh.com/...ocal/Database/db.cgi in an effort to get it to display in Netscape. I know it's the closing of sub html_page_top that's giving me the probs (I've been as close as getting Netscape to display it at the bottom of the browser window), but at this point I'm ready to go postal.

Below is an abbreviated version of my sub html_page_top. Perhaps one the Netscape users can give me a hack?
Code:
...<h3><font color="#FFFFFF"><u>Other Alumni Links</u></font></h3>
<p><a href="http://home.flash.net/~murgnam/contacts.htm">Contacts/Credits</a></p>
<p><a href="http://www.classmates.com/">Classmates!</a>

<a href="http://www.military-brats.com/">Military Brats
Registry</a>

<a href="http://home.capu.net/~mcl/osb/osbmain.htm">Overseas
Brats High

School Alumni

Organization</a></p>
</td>
<td valign="top"><p align="center" class="c1">
<TABLE border=1 bgcolor="#5DDFF5" cellpadding=5 cellspacing=3 width=500
align=center valign=top>
<TR><TD align=center>$html_title: $page_title</td></tr>
<TR><TD align=center>$page_title<BR>
<TABLE><TR><TD></TD></TR></TABLE>
|;
print qq|
</TD>
</TR>
</TABLE>
</BODY>
</HTML>
|;
}
JR


Quote Reply
Re: Netscape Display In reply to
You obviously are working with three tables here. You don't show the beginning of the first table, but you do have


</td>
<td valign="top"><p align="center" class="c1">


Then you have

<TABLE border=1 bgcolor="#5DDFF5" cellpadding=5 cellspacing=3 width=500
align=center valign=top>
<TR><TD align=center>$html_title: $page_title</td></tr>
<TR><TD align=center>$page_title<BR>


which is your second table.

Then you have

<TABLE><TR><TD></TD></TR></TABLE>

as your third table.

The third table is closed off just fine.

print qq|
</TD>
</TR>
</TABLE>


closes off the second table.

But there's nothing to close off the first one.

between </TABLE> and </BODY> add

</TD></TR></TABLE>

That should probably do it.

JPD
http://www.jpdeni.com/dbman/
Quote Reply
Re: Netscape Display In reply to
Close, but not quite. Here's the whole table, if that will help
Code:
<table border="0" width="100%">
<tr>
<td valign="top"><img src="/clear.gif" width="180"
height="1">



<h3><font color="#FFFFFF"><u>Izmir Home Pages</u></font></h3>
<p><a href="http://195.244.35.1/">Izmir American School</a></p>
<p><b><font color="#5DDFF5" size="3">Izmir High</font></b></p>
<p><a href="http://home.flash.net/~murgnam/80s1.htm">80s Crowd</a></p>
<p><a href="http://welcome.to/90salumni">90s Alumni</a></p>
<h3><font color="#FFFFFF"><u>BBS'</u></font></h3>
<p><a href="/wwwboard/wwwboard.html">MAIN

Bulletin Board</a></p>
<p><a href="/wwwboard/renboard.html">REUNION

Bulletin Board</a></p>
<p><a
href="http://members.tripod.com/emre1000/disc1_toc.htm">90s
Alumni

Bulletin Board</a></p>
<h3><font color="#FFFFFF"><u>Communicate</u></font></h3>
<p><a href="http://www.icq.com/"><img
src="http://home.flash.net/~murgnam/images/ICQDOWNLOAD.GIF"
alt="ICQ" border="0" width="88" height="31"></a>

<a href="http://home.flash.net/~murgnam/alumnilist.htm">Alumni
on ICQ</a>



<a href="http://home.flash.net/~murgnam/Chat.html">Chat
Room</a>

<font color="#FFFFFF">(Java enabled)</font></p>
<h3><font color="#FFFFFF"><u>Directories</u></font></h3>
<p><a href="/Direct/dir.htm">70s et al</a></p>
<p><a href="http://home.flash.net/~murgnam/director.htm">80s
Crowd</a></p>
<p><a
href="http://members.tripod.com/emre1000/directory.htm">90s
Crowd</a></p>
<h3><font color="#FFFFFF"><u>Photos</u></font></h3>
<p><img
src="http://home.flash.net/cgi-bin/cgiwrap/murgnam/rand_image.pl"
alt="Alumni Pics"></p>
<p><img src="/images/new.gif" alt="new" width="31" height="12">

<a
href="http://home.flash.net/~murgnam/Y2KPhotos/bookcvr.htm">AtlantaY2k
Reunion

Photo Album/

Scrapbook</a></p>
<p><a href="http://home.flash.net/~murgnam/phototest.htm">Current
Photos</a>

<a href="/98 Reunion Pictures.htm">'98 Reunion
Pictures</a>

<a href="/pics.htm">Reunion Photo

Archives</a></p>
<h3><font color="#FFFFFF"><u>Other Alumni Links</u></font></h3>
<p><a href="http://home.flash.net/~murgnam/contacts.htm">Contacts/Credits</a></p>
<p><a href="http://www.classmates.com/">Classmates!</a>

<a href="http://www.military-brats.com/">Military Brats
Registry</a>

<a href="http://home.capu.net/~mcl/osb/osbmain.htm">Overseas
Brats High

School Alumni

Organization</a></p>
</td>
<td valign="top"><p align="center" class="c1">
<TABLE border=1 bgcolor="#5DDFF5" cellpadding=5 cellspacing=3 width=500
align=center valign=top>
<TR><TD align=center>$html_title: $page_title</td></tr>
<TR><TD align=center>$page_title<BR>
<TABLE><TR><TD></TD></TR></TABLE>
|;
print qq|
</TD>
</TR>
</TABLE>
</TD></TR></TABLE>
</BODY>
</HTML>
Quote Reply
Re: Netscape Display In reply to
What you have posted here seems fine. However, I see the following on your page:

Code:

<td valign="top"><p align="center" class="c1">
<table border="0" cellpadding="0" cellspacing="0" align="center" valign="top" width="100%">
<TD>Izmir Alumni Database:
<TD><BR>
<TD></TD></TR></TABLE>

</TD>
</TR>
</TABLE>
</BODY>
</HTML>

<html>
<head>

<title>Izmir Alumni Database: Login.</title>
</head>
<body background="http://www.izmirhigh.com/AB/texture3.gif" OnLoad="GetCookies()">
<SCRIPT LANGUAGE=JAVASCRIPT>


You have code for two full .html files here. From the look of things you seem to be mixing the "user-friendly" and the regular html.pl files. Or something. I'm not quite sure what you're doing.

Where is the code that you posted -- what subroutine? What is the code for the login page?

JPD
http://www.jpdeni.com/dbman/
Quote Reply
Re: Netscape Display In reply to
The fianl output of your page looks like this:
Code:
School Alumni

Organization</a></p>
</TD>
<td valign="top"><p align="center" class="c1">
<table border="0" cellpadding="0" cellspacing="0" align="center" valign="top" width="100%">
<TD>Izmir Alumni Database:
<TD><BR>

<TD></TD></TR></TABLE>

</TD>
</TR>
You're missing some </TD> tags. Not only that though, there's also this:
Code:
</TABLE>
</BODY>
</HTML>

<html>
<head>
<title>
You might want to go over your html.pl file and double check all the layout and code.

- Mark

Astro-Boy!!
http://www.zip.com.au/~astroboy/
Quote Reply
Re: Netscape Display In reply to
JPD,
The user-friendly/regular files you see are as a result of TheFew's recent hack to my html.pl ... which was a GOOD thing. It solved a WHOLE BUNCH of problems I was having earlier.
Today I used yr Tutorial to try and encorporate what I had into a webpage.
Long story short, I've posted my html.pl to http://www.izmirhigh.com/html_pl.txt. Hopefully that will help.
JR

Quote Reply
Re: Netscape Display In reply to
You're using the html_page_top sub routine, but you're still writing a full HTML page in every sub (<HTML>, <BODY> tags, etc..)

html_page_top does this for you, you don't need to specify the header every single time.

- Mark

Astro-Boy!!
http://www.zip.com.au/~astroboy/
Quote Reply
Re: Netscape Display In reply to
Sh*, yr right, just noticed that! I had just put in all the page_top's earlier after wickering JPD's fancier formatting tutorial. Guess I got a bit more deleting to do ... then come back.
Sorry yall.
JR

Quote Reply
Re: Netscape Display In reply to
I took the file and turned it all into "user-friendly" format. I'm hoping that this will fix your problems. You can pick up the file at http://www.jpdeni.com/dbman/Mods/joe.txt.


JPD
http://www.jpdeni.com/dbman/
Quote Reply
Re: Netscape Display In reply to
What would we do without JPDeni? Not only did you go "way out of your way" to fix my problem, but you saved a wife and two kids from an irate postal worker (j/k).

THANK YOU AGAIN!!!

JR

P.S. Think I still need to wicker the javascript in the Remember Username part (guess put in the Head block) and realign the &html_footer on the Login Page.

Quote Reply
Re: Netscape Display In reply to
Oh, we wouldn't want you going postal!!! Wink

I missed something in sub html_login_form. Delete the code that's in red below:

Code:
<input type="SUBMIT" name="login" value="Logon"> <INPUT TYPE="SUBMIT" NAME="logoff" VALUE="Cancel"></center></form></font></td></tr>
</table>
</center>

|;

&html_page_bottom;
}
There may be other places that I missed that, too. If your footer thing goes into the left border on a page, look for those tags in the matching subroutine and delete them.

You're welcome. Once I figured out what was going on, it wasn't too bad. I just went from subroutine to subroutine and did some cut and paste. (And, again, I send blessings to Mrs. Rose, my high school typing teacher, wherever she may be. Smile)

JPD
http://www.jpdeni.com/dbman/