Gossamer Forum
Home : Products : Links 2.0 : Customization :

Table colors and other easy questions

Quote Reply
Table colors and other easy questions
I have a few easy questions.

1. I finally took the plunge and started to modify the templates. Well it did not blow up so that is good, but the colors in my tables did not show up. The tables were produced but everything is white. Suggestions? Solutions?

2. How do I change the site titles etc.
Is there a way to say new site titles etc.? And if you, can they be templated so I do not have to recreate them on each page?

Thanks in advance for your help.

<TYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html>

<head>
<title><%site_title%></title>
<meta name="description" content="put your description here">
<meta name="keywords" content="put your keywords here">
<link rel=stylesheet href="<%build_root_url%>/links.css" type="text/css" title="<%site_title%> style sheet">
</head>

<body>

<h1 class="home"><%site_title%></h1>


<p>Welcome to the Luvplanet.com- Your CyberPlanet for Love and Romance. Feel free to add your own link, modify another's or just play around!</p>

<div align="center"><center>


<form action="<%db_cgi_url%>/search.cgi" method="GET">
<div align="center"><center><table border="0" cellpadding="0" bordercolordark="#000080"
cellspacing="0" bgcolor=" #FFCCCC" width="600">
<tr>
<td align="left" width="510">
</select> <input type="text" name="query" size="25"
style="background-color: rgb(244,244,244); color: rgb(128,0,128)"> <input type="submit"
value="Search" style="font-family: Arial; font-size: 9pt; color: rgb(255,0,255)"></td>
<td align="center" background="/img/total.gif" valign="middle" width="167"><font
color="#FF00FF"></font></td>
</tr>
<tr><td><small class="more"><a href="<%db_cgi_url%>/search.cgi">More search options</a></small></td></tr>

</table>
</center></div>
</form>
<div align="center"><center>

<table border="0" cellpadding="0" cellspacing="0" width="600">
<tr>
<td valign="top" align="center" width="165" bgcolor=" #FFCCCC"><table border="0" cellpadding="2"
width="150" cellspacing="3">
<tr>
<td bgcolor="#000080" align="center" width="145"><font color="#FFFFFF" size="2"><strong>Directory
Commands</strong></font></td>
</tr>
<tr>
<td>
<a class="menulink" href="<%db_cgi_url%>/search.cgi">Search</a><br>
<a class="menulink" href="<%db_cgi_url%>/add.cgi">Add a Site</a><br>
<a class="menulink" href="<%db_cgi_url%>/modify.cgi">Modify a Site</a><br>
<a class="menulink" href="<%build_root_url%>/New">What's New</a><br>
<a class="menulink" href="<%build_root_url%>/Cool">What's Cool</a><br>
<br>
</td>
</tr>
<tr>
<td bgcolor="#000080" align="center" width="145"><font color="#FFFFFF" size="2"><strong>Our Free Resources
</strong></font></td>
</tr>
<tr>
<td width="145"><span style="font-family: Arial; font-size: 10pt">Free Luvplanet Email<br>
Luvplanet Chat<br>
Luvplanet Forums<br>
Luvplanet Newsletter<br>
</span></td>
</tr>
<tr>
<td bgcolor="#000080" align="center" width="145"><b><span
style="font-family: Arial; font-size: 10pt; color: rgb(255,255,255)">Special Features</span></b></td>
</tr>
<tr>
<td width="145"><span style="font-family: Arial; font-size: 9pt">Blah<br>
Blah<br>
Blah<br>
<br>
</span></td>
</tr>
<tr>
<td align="center" bgcolor="#000080" width="145"><strong><span
style="font-family: Arial; font-size: 10pt; color: rgb(255,255,255)">Feedback</span></strong></td>
</tr>
<tr>
<td width="145"><span style="font-family: Arial; font-size: 9pt">Attention Webmasters<br>
<a href="/cgi-bin/birdcast.cgi">Tell Friends</a><br>
Links to Us<br>
<br>
<br>
</span></td>
</tr>
<tr>
<td bgcolor="#000080" align="center"><font color="#FFFFFF"><strong>Other Links</strong></font></td>
</tr>
<tr>
<td width="145"><a href="http://www.gossamer-threads.com"><img
src="http://www.gossamer-threads.com/images/powered.gif" width="100" height="31"

alt="Gossamer Threads Inc." border="0"></a><p></td>
</tr>
</table>
</td>


<td width="438" valign="top" align="center"><table border="0" cellpadding="5"
hight="100%" width="100%" cellspacing="1" bgcolor="#F8F8F8">
<tr>
<td width="442" colspan="2"></td>
</tr>
<h2>Categories:</h2>

<%category%>
<tr>
<td valign="top"><strong>
<tr>
<td colspan="2" bgcolor="#E0E0E0" valign="top" align="center"><p class="grandtotal">There are <strong><%grand_total%></strong> links for you to choose from!</p>
<br>
Pages Updated On: 14-Jan-1999<br>
<a href="mailto:webmaster@luvplanet.com">webmaster@luvplanet.com</a><br>
Copyright &copy; 1999 EntertaiNet Corp.<br>
All rights reserved</td>
</tr>
</table>
</td>
</tr>
</table>
</center></div>

</body>
</html>

Here is the code. The tables showing up with color.Are you saying that I need to change the cgi file just to chaneg the html? That woul defeat the purpose of the template system wouldn't it?

[This message has been edited by ProfessorSW (edited February 03, 1999).]
Quote Reply
Re: Table colors and other easy questions In reply to
To change your colors in your tables just look in the links cfg and change the bgcolor to whatever you want the background to be. This may either be a 6 digit number or a word like red. good luck and have fun with it