Seite 1 von 1

Tabellenbreite ändern geht nicht

Verfasst: 22.03.2005 12:11
von Eves21
Hallo

ich würde gerne die Spaltenbreite von {L_REPLIES} 

{recent.TOPIC_REPLIES}

ändern, nur diese Spalte bekomme ich leider nicht enger hin. Könnte mir bitte jemand helfen?

Danke
<style type="text/css">
<!--
.Stil1 {font-family: Verdana, Arial, Helvetica, sans-serif}
-->
</style>

<table width="90%" cellpadding="2" cellspacing="1" border="0" class="forumline">

<tr>
<td height="25" colspan="2" class="catHead Stil1"><center class="Stil2">
<span><b>Foruma Gönderilen Son Mesajlar</b>
</span>
</center></td>
</tr>

<table width="70%" border="0" align="center" cellpadding="2" cellspacing="1" bordercolor="#CCCC99" class="forumline">

<!-- BEGIN switch_glance_news -->

<!-- BEGIN switch_news_on -->
<tbody id="phpbbGlance_news" style="display: ;">
<!-- END switch_news_on -->
<!-- BEGIN switch_news_off -->
<tbody id="phpbbGlance_news" style="display: none;">
<!-- END switch_news_off -->

<!-- END switch_glance_news -->
<!-- BEGIN news -->
<!-- END news -->
</tbody>

<!-- BEGIN switch_glance_recent -->
<tr>
<th class="thCornerL" height="28" align="center" width="10">
<!-- <span class="newsbutton" onClick="rollup_contract(this, 'phpbbGlance_recent');">-->
<!-- BEGIN switch_recent_on -->
-
<!-- END switch_recent_on -->
<!-- BEGIN switch_recent_off -->
+
<!-- END switch_recent_off -->

</th>
<th class="thTop" height="28" align="left">
<table width="100%" height="30" border="0" cellpadding="0" cellspacing="0">
<tr><th align="center">Baslýk</th>
</tr>
</table>
</th>
<th class="thTop" height="10" align="center" nowrap="nowrap">&nbsp;{L_FORUM}&nbsp;</th>
<th class="thTop" width="10" height="10" align="center" nowrap="nowrap">&nbsp;{L_REPLIES}&nbsp;</th>
<th class="thCornerR" height="18" align="center" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
</tr>

<!-- BEGIN switch_recent_on -->
<tbody id="phpbbGlance_recent" style="display: ;">
<!-- END switch_recent_on -->
<!-- BEGIN switch_recent_off -->
<tbody id="phpbbGlance_recent" style="display: none;">
<!-- END switch_recent_off -->

<!-- END switch_glance_recent -->

<!-- BEGIN recent -->
<tr>
<td nowrap="nowrap" valign="middle" class="row1" align="center" width="20%"><a href="{recent.TOPIC_LINK}">{recent.BULLET}</a></td>
<td valign="middle" class="row1"><span class="genmed"><strong>{recent.TOPIC_TYPE}</strong> <a href="{recent.TOPIC_LINK}" class="genmed"><strong>{recent.TOPIC_TITLE}</strong></a></span></td>
<td valign="middle" class="row3" nowrap="nowrap" align="center"><span class="genmed"><strong>&nbsp;<a href="{recent.FORUM_LINK}" class="genmed">{recent.FORUM_TITLE}</a></strong>&nbsp;</span></td>
<td valign="middle" class="row2" nowrap="nowrap" align="center"><span class="genmed">{recent.TOPIC_REPLIES}</span></td>
<td valign="middle" class="row3" nowrap="nowrap" align="center"><span class="genmed">{recent.LAST_POST_TIME}<br />{recent.LAST_POSTER}</span></td>
</tr>
<!-- END recent -->
</tbody>
</table>

Verfasst: 22.03.2005 12:22
von Markus67
Hi ...

nowrap="nowrap" verhindert dass der Inhalt einer "Tabellenzelle" umgebrochen wird.... bedeutet also, dass der breiteste Eintrag die Breite der Spalte definiert :wink: ... Entferne die Einträge aus dem betreffenden Code und schon funktionierts :wink:

Markus

Verfasst: 23.03.2005 23:39
von Eves21
Dankeschön :)