View Full Version : Cutenews: Templates - Color of table


Incendio
09-07-2005, 11:07 AM
Check the link below to see how my news/templates look like. The table I've circled in red I want to be the same color as the background of my website, how can I change the color of that very table?

http://tinypic.com/dg2j5v.gif

Here's a site as an example.

http://www.fan-sites.org/dominic/

they have a grey ish coloured table where the date and the subject stands. Then the entry itself is on an "invisible" table so the bg of the entries match with the background ...

<table border="0" width="460" cellspacing="1" cellpadding="1">
<tr>
<td width="100%" style="text-align:justify">
<b>{title}</b>
</td>
</tr>
<tr>
<td width="100%" style="font:11px Tahoma,Verdana,sans-serif; color:#5F6778; text-align:justify">{short-story}</td>
</tr>
<tr>
<td width="100%">
<table border="0" style="border-top: 1px dotted #f2f3f3; font:11px Georgia,Verdana,sans-serif; color:black" width="408" cellspacing="0">
<tr>
<td width="220"><i>{date} by {author}</i><br></td>
<td width="168" ><div align=right>[full-link]Read More ...[/full-link] [com-link]comments ({comments-num})[/com-link]<br>
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br />

dolce shanti
09-07-2005, 02:02 PM
OK...I *think* this will work...

<table border="0" width="460" cellspacing="1" cellpadding="1">
<tr>
<td width="100%" style="text-align:justify">
<b>{title}</b>
</td>
</tr>
<tr>
<td width="100%" style="font:11px Tahoma,Verdana,sans-serif; color:#5F6778; text-align:justify; bgcolor:#COLOR;">{short-story}</td>
</tr>
<tr>
<td width="100%">
<table border="0" style="border-top: 1px dotted #f2f3f3; font:11px Georgia,Verdana,sans-serif; color:black" width="408" cellspacing="0">
<tr>
<td width="220"><i>{date} by {author}</i><br></td>
<td width="168" ><div align=right>[full-link]Read More ...[/full-link] [com-link]comments ({comments-num})[/com-link]<br>
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br />


Just replace "COLOR" with the color you want.

Let me know if it works!

Incendio
09-07-2005, 06:37 PM
No, that didn't work :(