Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Add Sucess Template Description.

Quote Reply
Add Sucess Template Description.
I note that the description in the add.success.html template goes out to the far right in one straight line.

I came across this once before but I cannot remember the fix for it.

Quote Reply
Re: Add Sucess Template Description. In reply to
Edit the table codes in the add_success.html template file. Use width, valign, and other table attributes to adjust the output.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------



Quote Reply
Re: Add Sucess Template Description. In reply to
Thanks Elliot "again"

Blessings bro.

------------------
www.nzcid.godzone.net.nz
New Zealand Christian Internet Directory




Quote Reply
Re: Add Sucess Template Description. In reply to
You're welcome.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------



Quote Reply
Re: Add Sucess Template Description. In reply to
Hi Elliot!

Here is the table html - I tried the various things you said but it still:

(a) Allows the description field to be in one single line and to go out to the far right.

(b) As a consequence it shoves the table to the extreme left.

Code:
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" width="680">
<tr>
<font face="Arial,Helvetica" size="-1">
<p><font face="Arial,Helvetica" size="2">We have received the following link:</font></p>

<pre><big>
Title: <%Title%>
URL: <%URL%>
Description: <%Description%>
Contact Name: <%Contact Name%>
Contact Email: <%Contact Email%>
Category: <%Category%>
Comments: <%Comments%>
</big></pre>

<p><font face="Arial" size="2">Thank you! We will send you an email once your link has been validated.</font></p>
<br><br clear=all>
</font>
</tr>
</table>
</center>
</div>

------------------
www.nzcid.godzone.net.nz
New Zealand Christian Internet Directory




Quote Reply
Re: Add Sucess Template Description. In reply to
Ian,

You really need to take a HTML tutorial or buy HTML for Dummies (great manual for learning how to write HTML codes). What you need to do is take out the <pre> codes and put the fields into their own table within the table (using nested tables).

Wink

Like the following:

Code:
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" width="680">
<tr>
<td>
<center>
<font face="Arial,Helvetica" size="2">
We have received the following link:
</font>
</center>
<p>
<div align="center"><center>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td valign="top">
<font face="Arial,Helvetica" size="2"><b>
Title:
</font></b>
</td>
<td valign="top">
<font face="Arial,Helvetica" size="2">
<%Title%>
</font>
</td></tr>
<tr>
<td valign="top">
<font face="Arial,Helvetica" size="2"><b>
URL:
</font></b>
</td>
<td valign="top">
<font face="Arial,Helvetica" size="2">
<%URL%>
</font>
</td></tr>
<tr>
<td valign="top">
<font face="Arial,Helvetica" size="2"><b>
Description:
</font></b>
</td>
<td valign="top">
<font face="Arial,Helvetica" size="2">
<%Description%>
</font>
</td></tr>
<tr>
<td valign="top">
<font face="Arial,Helvetica" size="2">
Contact Name:
</font></b>
</td>
<td valign="top">
<font face="Arial,Helvetica" size="2">
<%Contact Name%>
</font>
</td></tr>
<tr>
<td valign="top">
<font face="Arial,Helvetica" size="2">
Contact Email:
</font></b>
</td>
<td valign="top">
<font face="Arial,Helvetica" size="2">
<%Contact Email%>
</font>
</td></tr>
<tr>
<td valign="top">
<font face="Arial,Helvetica" size="2">
Category:
</font></b>
</td>
<td valign="top">
<font face="Arial,Helvetica" size="2">
<%Category%>
</font>
</td></tr>
<tr>
<td valign="top">
<font face="Arial,Helvetica" size="2"><b>
Comments:
</font></b>
</td>
<td valign="top">
<font face="Arial,Helvetica" size="2">
<%Comments%>
</font>
</td></tr>
</table></div></center>

<p><font face="Arial" size="2">Thank you! We will send you an email once your link has been validated.</font></p>
<br><br clear=all>
</font>
</td></tr>
</table>
</div></center>

All the bolded codes is what I added...and I did this raw...without an editor.

To see an example of this, go to:


Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------





[This message has been edited by Eliot (edited January 07, 2000).]
Quote Reply
Re: Add Sucess Template Description. In reply to
Thanks again Elliot!

I shall look into buying that book you mention. A lot of links and any site is the html coding and I know my skills are not the best in straight html coding as I have used FP ever since I started, but more and more lately having to switch to straight coding.

Many thanks again for your patience.



------------------
www.nzcid.godzone.net.nz
New Zealand Christian Internet Directory




Quote Reply
Re: Add Sucess Template Description. In reply to
You're welcome.

BTW: I spent the first two years of web design and programming using straight vi in UNIX and also text editors.

Wink

I do use FP now and also DreamWeaver, but having the HTML coding knowledge allows me to easily edit problems and glitches.

Wink

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------