Abstand zwischen den Kategorien

Alles zu Styles, Templates, Icons und Smilies für phpBB 2.0, sowie allgemeine Designfragen zur Integration von phpBB in bestehende Websites.
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Antworten
fanrpg
Mitglied
Beiträge: 2909
Registriert: 13.12.2004 22:41

Abstand zwischen den Kategorien

Beitrag von fanrpg »

Also bin dabei mein Style hier zu ändern!

Jetzt meine Frage:

Wie kriege ich ein Abstand zwischen die Kategorien also das zwischen jeder Kategorie ein Abstand von einer Zeile ist!

Hier der Code dafür:

Code: Alles auswählen

<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
  <!-- BEGIN catrow -->
    <tr> 
	<th colspan="2" class="thCornerL" height="25" nowrap="nowrap">&nbsp;{L_FORUM}&nbsp;</th>
	<th width="5%" class="thTop" nowrap="nowrap">&nbsp;{L_TOPICS} | {L_POSTS}	  &nbsp;</th>
	<th width="15%" nowrap="nowrap" class="thCornerR">&nbsp;{L_LASTPOST}&nbsp;</th>
	<th width="10%" nowrap="nowrap">Moderatoren</th>
  </tr>
  <tr> 
	<td class="catLeft" colspan="2" height="28"><span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td>
	<td class="rowpic" colspan="3" align="right">&nbsp;</td>
  </tr>
  <!-- BEGIN forumrow -->
 
  <tr> 
	<td width="46" height="50" align="center" valign="middle" class="row1"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="46" height="25" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
	<td class="row1" width="390" height="50"><span class="gensmall"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink"><span class="Stil7">{catrow.forumrow.FORUM_NAME}</span></a><br />
	  </span> <span class="gensmall"><span class="Stil5">{catrow.forumrow.FORUM_DESC}</span><br />
	  </span><span class="gensmall"></span></td>
	<td class="row2" align="center" valign="middle" height="50"><p class="gensmall"><span class="Stil5">{catrow.forumrow.TOPICS} </span>| <span class="Stil5">{catrow.forumrow.POSTS}</span></p>
    </td>
	<td class="row2" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall Stil5">{catrow.forumrow.LAST_POST}</span></td>
	<td class="row2" align="center" valign="middle" height="50"><p class="gensmall">{catrow.forumrow.MODERATORS}</span></td>
  </tr>

  <!-- END forumrow -->
  <!-- END catrow -->
</table>
fanrpg
Mitglied
Beiträge: 2909
Registriert: 13.12.2004 22:41

Beitrag von fanrpg »

Ist gut habs so gelöst:

Code: Alles auswählen

  <!-- BEGIN catrow -->
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
    <tr> 
	<th colspan="2" class="thCornerL" height="25" nowrap="nowrap">&nbsp;{L_FORUM}&nbsp;</th>
	<th width="5%" class="thTop" nowrap="nowrap">&nbsp;{L_TOPICS} | {L_POSTS}	  &nbsp;</th>
	<th width="15%" nowrap="nowrap" class="thCornerR">&nbsp;{L_LASTPOST}&nbsp;</th>
	<th width="10%" nowrap="nowrap">Moderatoren</th>
  </tr>
  <tr> 
	<td class="catLeft" colspan="2" height="28"><span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td>
	<td class="rowpic" colspan="3" align="right">&nbsp;</td>
  </tr>
  <!-- BEGIN forumrow -->
 
  <tr> 
	<td width="46" height="50" align="center" valign="middle" class="row1"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="46" height="25" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
	<td class="row1" width="390" height="50"><span class="gensmall"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink"><span class="Stil7">{catrow.forumrow.FORUM_NAME}</span></a><br />
	  </span> <span class="gensmall"><span class="Stil5">{catrow.forumrow.FORUM_DESC}</span><br />
	  </span><span class="gensmall"></span></td>
	<td class="row2" align="center" valign="middle" height="50"><p class="gensmall"><span class="Stil5">{catrow.forumrow.TOPICS} </span>| <span class="Stil5">{catrow.forumrow.POSTS}</span></p>
    </td>
	<td class="row2" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall Stil5">{catrow.forumrow.LAST_POST}</span></td>
	<td class="row2" align="center" valign="middle" height="50"><p class="gensmall">{catrow.forumrow.MODERATORS}</span></td>
  </tr>

  <!-- END forumrow -->
</table>
<br>
<!-- END catrow -->
Antworten

Zurück zu „phpBB 2.0: Styles, Templates und Grafiken“