Scheiding tussen categorieen
Geplaatst: 31 okt 2005, 00:40
Hoe maak je een scheiding tussen categorieen.
Code: Selecteer alles
<!-- BEGIN catrow -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="23" align="right" valign="bottom"><img src="templates/Aeolus/images/top_left.gif" width="23" height="36" border="0" alt="" /></td>
<td width="100%" align="left" valign="middle" background="templates/Aeolus/images/top_center.gif"><table border="0" cellspacing="0" cellpadding="0"><tr><td><img src="templates/Aeolus/images/spacer.gif" width="1" height="11" border="0" /></td></tr><tr><td align="left" valign="center"><span class="cattitle"> <a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a> </span></td></tr></table></td>
<td width="60" align="left" valign="bottom"><img src="templates/Aeolus/images/top_right.gif" width="60" height="36" border="0" alt="" /></td>
</tr>
</table>
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<th colspan="2" class="thCornerL" height="26" nowrap="nowrap"> {L_FORUM} </th>
<th width="50" class="thTop" nowrap="nowrap"> {L_TOPICS} </th>
<th width="50" class="thTop" nowrap="nowrap"> {L_POSTS} </th>
<th class="thCornerR" nowrap="nowrap"> {L_LASTPOST} </th>
</tr>
<!-- BEGIN forumrow -->
<tr>
<td class="row4" align="center" valign="middle" width="30" height="30"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="20" height="18" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
<td class="row1" width="100%" onmouseover="this.style.backgroundColor='#D6DEE4';" onmouseout="this.style.backgroundColor='#DCE3E9';" onclick="window.location.href='{catrow.forumrow.U_VIEWFORUM}'"><span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br />
</span> <span class="genmed">{catrow.forumrow.FORUM_DESC}<br />
</span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span></td>
<td class="row2" align="center" valign="middle"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
<td class="row2" align="center" valign="middle"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
<td class="row3" align="center" valign="middle" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
</tr>
<!-- END forumrow -->
</table>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td width="10" align="right" valign="top"><img src="templates/Aeolus/images/bottom_left.gif" width="10" height="10" border="0" alt="" /></td>
<td width="100%" background="templates/Aeolus/images/bottom_center.gif"><img src="templates/Aeolus/images/spacer.gif" width="1" height="1" border="0" alt="" /></td>
<td width="10" align="left" valign="top"><img src="templates/Aeolus/images/bottom_right.gif" width="10" height="10" border="0" alt="" /></td>
</tr>
</table>
<!-- END catrow -->
Code: Selecteer alles
</table>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td width="10" align="right" valign="top"><img src="templates/Aeolus/images/bottom_left.gif" width="10" height="10" border="0" alt="" /></td>
<td width="100%" background="templates/Aeolus/images/bottom_center.gif"><img src="templates/Aeolus/images/spacer.gif" width="1" height="1" border="0" alt="" /></td>
<td width="10" align="left" valign="top"><img src="templates/Aeolus/images/bottom_right.gif" width="10" height="10" border="0" alt="" /></td>
</tr>
</table>
Code: Selecteer alles
</table>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td width="10" align="right" valign="top" width="10" height="10" border="0" alt="" /></td>
<td width="100%" width="1" height="1" border="0" alt="" /></td>
<td width="10" align="left" valign="top" width="10" height="10" border="0" alt="" /></td>
</tr>
</table>
Het is <br /> volgens xhtml standaard(Eigenlijk zonder spatie, maar dan deed IE het dacht ik nie goedLady Elensar schreef:ja, maar je hebt het over spaties, bedoel je niet enters dan? nee, dat zal wel niet. hm, het zal wel aan mij liggen dan, dat ik je niet snap. en wáár je die spaties wilt hebben. maar goed, een spatie is iig . Dat weet ik wel.
Edit: ooow, sorry, ik had 2 zinnen niet gelezen. nou, je bedoeld dus wel een enter ipv. een spatie. een enter is <BR> maar in je template moet je volgensmij < br/> gebruiken.