Forums / Cotonti / Support / What CSS Entry?

pieter
#21820 2009-12-30 15:07
Look for this part in CSS file:

/* ============== Tables ============== */
table td  { vertical-align:top; }
table.flat { width:100%; margin:0; padding:0; border-collapse:collapse; }
table.flat td  { padding:0; margin:0}
table.main { width:100%; margin:0; padding:4px; }
table.main td  { padding:4px; }
table.cells { width:100%; border-spacing: 1px; margin:0; padding:0;}
table.cells td { background-color:#252525; padding:3px; }
table.list { width:100%; margin:0; padding:5px; }
table.list td  { padding:12px; }


Added 1 minute later:

.coltop { text-align:center; background-color:#303030!important; color:#707070; padding:5px 0; font-weight:bold; }
.odd { background-color:#292929!important; }
.even { background-color:#252525!important; }

.odd is for the odd lines
.even for the even lines

Coltop is for the topline with the explaination in.

Added 2 minutes later:

Recentitems.tpl:

<!-- BEGIN: RECENTPAGES -->
<table class="cells">
	<!-- BEGIN: RECENTPAGE -->
	<tr><td>{RI_DATE} </td><td> {RI_CAT} </td></tr>
	<tr><td class="odd" style="padding-left:8px;" colspan="2"> {RI_NAME}</td></tr>
	<!-- END: RECENTPAGE -->
</table>
<!-- END: RECENTPAGES -->
<!-- BEGIN: RECENTFORUMS -->
<table class="cells">
	<!-- BEGIN: RECENTFORUM -->
	<tr><td>{RI_IMG} </td><td>{RI_DATE} </td><td>{RI_CAT} </td><td>{RI_NAME} </td><td>({RI_COUNT})</td></tr>
	<!-- END: RECENTFORUM -->
</table>
<!-- END: RECENTFORUMS -->

And here you can see that you need to change the part table.cells and odd
... can we help you ...