Seite 1 von 1

Categories & Forum Icon MOD / Icon zentrieren?

Verfasst: 26.05.2005 13:42
von tomtom
Hallo,

ist es möglich, die Forenicons zentriert neben den Forennamen zu haben?

Momentan schliessen Icon und Name unten bündig ab (s. hier, das Icon soll aber tiefer, dass es horizontal zentriert, neben dem Namen, in der Zeile steht.

Geht das?

Verfasst: 26.05.2005 15:17
von Markus67
Hi ...

ersetze mal in der index_body.tpl deine forumrow mit dem hier ...

Code: Alles auswählen

  <!-- BEGIN forumrow -->
  <tr>
	<td class="row1" align="center" valign="middle" height="50"><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" align="center" height="50">{catrow.forumrow.FORUM_ICON}</td>
	<td class="row1" width="50%" height="50"><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" height="50"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
	<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
	<td class="row2" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
  </tr>
  <!-- END forumrow -->
Markus

Verfasst: 26.05.2005 15:27
von tomtom
Sieht schonmal super aus, aber oben rechts in der Ecke fehlt wohl noch was!

Verfasst: 26.05.2005 15:33
von Markus67
Hi ...

suche über der forumrow:

Code: Alles auswählen

<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="50" class="thTop" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
	<th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_POSTS}&nbsp;</th>
	<th class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
  </tr>
  <!-- BEGIN catrow -->
  <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 -->
ersetze mit:

Code: Alles auswählen

<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
  <tr>
	<th colspan="3" class="thCornerL" height="25" nowrap="nowrap">&nbsp;{L_FORUM}&nbsp;</th>
	<th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
	<th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_POSTS}&nbsp;</th>
	<th class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
  </tr>
  <!-- BEGIN catrow -->
  <tr>
	<td class="catLeft" colspan="3" 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 -->
Markus

Verfasst: 26.05.2005 16:01
von tomtom
Okay, danke.

Warst, wie immer, eine große Hilfe!! Danke!!

Verfasst: 27.05.2005 18:50
von tomtom
Aaaaber: :)

wie kann ich die beiden Spalten, in der das [ externes Bild ]Icon und die neu erstellte Spalte mir den Foren-Icons schmaler machen?

Verfasst: 28.05.2005 11:58
von Markus67
Hi .

die Spalte mit dem Forumicon wird durch die Breite der Grafik bestimmt 45 px .. da musst du dann die Grafik schmaler machen ... da ist links und rechts noch transparenter Hintergrund :wink:

Die Spalte mit dem neuen Icons wird ebenfalss durch die Breite der Icons bestimmt ... siehe in deinem Power-Forum.

Markus