hjælp til tekst farven
hvordan gør man så clas´sen .tdUlige tekst bliver sorthåber i forstår ellers så kig på min side hvis det kan hjælpe
http://4boys.4b.funpic.org/ny/forum/vis_indlaeg.php?bord_id=1
koden
<?php
include("../functions.php");
include("../settings.php");
cookie_user();
?>
<html>
<head>
<title>YourClan.com</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
.tdLige {
background-color : #999999;
}
.tdUlige {
background-color : #CCCCCC;
}
#c A:link {COLOR: gray;TEXT-DECORATION: none}
#c A:visited {COLOR: gray; TEXT-DECORATION: none}
#c A:active {COLOR: gray;TEXT-DECORATION: none}
#c A:hover {COLOR: silver; TEXT-DECORATION: none}
body {margin: 0px 0px 0px 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background: #474747}
A:link {COLOR: whitesmoke;TEXT-DECORATION: none}
A:visited {COLOR: whitesmoke; TEXT-DECORATION: none}
A:active {COLOR: whitesmoke;TEXT-DECORATION: none}
A:hover {COLOR: #aeaeae; TEXT-DECORATION: none}
TD {color: whitesmoke; font: xx-small verdana,tahoma}
body {color: whitesmoke; font: xx-small verdana,tahoma,arial}
textarea {background: #1e1e1e; border: 1px solid #000000; color: gray; font: xx-small verdana}
input {background: #1e1e1e; border: 1px solid #000000; color: gray; font: xx-small verdana}
A.menulink {none}
A.menulink:hover {
background-color:#303030;
width: 193px;
}
</style>
</head>
<body>
<table border="0" style="background: url(<?=$side?>/img/onderkant.gif); height: 100%; width: 700px" cellspacing="0" cellpadding="0" align="center">
<tr>
<td style="background: url(<?=$side?>/img/links_r1.gif); width: 27px"></td>
<td valign="top" style="background: url(<?=$side?>/img/bg3.gif)">
<table border="0" cellpadding="0" cellspacing="0" width="151">
<tr>
<td><img src="<?=$side?>/img/logo.gif" width="151" height="159" border="0" alt=""></td>
</tr>
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="width: 15px; background: url(<?=$side?>/img/menu_links.gif)"></td>
<td width="118" style="background: url(<?=$side?>/img/menubg.gif)">
<?
require "../includes/brugermenu.php";
?> </td>
<td style="width: 18px; background: url(<?=$side?>/img/menu_rechts.gif)"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td><img src="<?=$side?>/img/menuonder.gif" width="151" height="13" border="0" alt=""></td>
</tr>
</table>
</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="151">
<tr>
<td align="center"><img src="<?=$side?>/img/top2.gif" border="0" alt=""></td>
</tr>
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="width: 15px; background: url(<?=$side?>/img/menu_links.gif)"></td>
<td width="118" style="background: url(<?=$side?>/img/menubg.gif)">
<?
require "../includes/navigation.php";
?>
</td>
<td style="width: 18px; background: url(<?=$side?>/img/menu_rechts.gif)"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td><img src="<?=$side?>/img/menuonder.gif" width="151" height="13" border="0" alt=""></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td valign="top" background="<?=$side?>/img/bg2.gif">
<table style="background: url(<?=$side?>/img/inhoudbg2.gif)" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="top">
<table width="491" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left">
<object type="application/x-shockwave-flash" data="header.swf" width="491" height="105">
<param name="movie" value="<?=$side?>/header.swf">
<img src="<?=$side?>/header.jpg" width="491" height="105" alt="">
</object>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top">
<table width="491" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="top">
<img src="<?=$side?>/img/header_links.gif" width="25" height="55" border="0" alt="">
</td>
<td valign="top">
<img src="<?=$side?>/img/header_onder.gif" width="450" height="55" border="0" alt="">
</td>
<td valign="top"><img src="<?=$side?>/img/header_rechts.gif" width="17" height="55" border="0" alt=""></td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top">
<table border="0" cellpadding="0" cellspacing="0" style="width: 492px">
<tr>
<td style="width: 25px; background: url(<?=$side?>/img/inhoud_links.gif)"></td>
<td style="width: 492px; background: url(<?=$side?>/img/inhoudbg.gif); padding: 5px">
<!-- CONTENT START -->
<?
echo"<table width='100%' cellpadding='1' cellspacing='1'>";
echo"<tr>";
echo"<td width='60%' bgcolor='#666666'><font color='000000'>Overskrift</font></td>";
echo"<td width='10%' bgcolor='#666666'><font color='000000'>Indlæg</font></td>";
echo"<td width='20%' bgcolor='#666666'><font color='000000'>Oprettet d.</font></td>";
echo"<td width='10%' bgcolor='#666666'><font color='000000'>Oprettet af</font></td>";
echo"</tr>";
$hent_overskrift = mysql_query("SELECT * FROM forum_spm WHERE forum_bord_id = '$_GET[bord_id]'") or die(mysql_error());
while($row = mysql_fetch_array($hent_overskrift)) {
$i++;
if ($i%2 == 1) {
$class = "tdUlige";
} else {
$class = "tdLige";
}
echo"<tr><td width='60%' class='$class'>";
echo"<a href='laes_indlaeg.php?bord_id=$_GET[bord_id]&spm_id=$row[spm_id]'>";
echo $row[overskrift] = substr($row["overskrift"],0,40);
echo"</a>";
echo"</td>";
echo"<td width='10%' class='$class'>";
$sql = "SELECT COUNT(forum_spm_id) FROM forum_svar WHERE forum_spm_id = '$row[spm_id]'";
$tael = mysql_query($sql) or die (mysql_error());
echo"<center>";
echo mysql_result($tael, 0);
echo"</center>";
echo"</td>";
$hent_dato = mysql_query("SELECT * FROM forum_spm LIMIT 1") or die(mysql_error());
while($daton = mysql_fetch_array($hent_dato)) {
echo"<td width='20%' class='$class'>";
echo"$daton[dato]";
echo"</td>";
}
$hent_opretter = mysql_query("SELECT * FROM forum_spm LIMIT 1") or die(mysql_error());
while($opretter = mysql_fetch_array($hent_opretter)) {
echo"<td width='10%' class='$class'>";
echo"$opretter[brugernavn]";
echo"</td>";
}
echo"</tr>";
}
echo"</table>";
?>
<!-- CONTENT ENDS -->
</td>
<td style="width: 17px; background: url(img/inhoud_rechts.gif)"></td>
</tr>
<tr>
<td><img src="<?=$side?>/img/inhoud_rechts_onder.gif" width="25" height="13" border="0" alt=""></td>
<td style="width: 492px;background: url(<?=$side?>/img/inhoud_onder.gif)"></td>
<td><img src="<?=$side?>/img/inhoud_links_onder.gif" width="17" height="13" border="0" alt=""></td>
</tr>
</table>
</td>
</tr>
</table>
<div style="text-align: center; color: gray" id="c">By <a href="http://rdlt.com" target="_blank">Yellow19</a>, © 2004-2005 <a href="http://clantemplatehq.com" target="_blank">Clantemplatehq.com</a> </div>
</td>
<td style="width: 10px; background: url(<?=$side?>/img/rechts_r2.gif)"></td>
<td style="background: url(<?=$side?>/img/rechts_r1.gif); width: 27px"></td>
</tr>
</table>
</body>
</html>
