PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Probleme mit neuem Style


Snatch
24.06.2005, 09:30
Hallo,

die Tabellen im neuen Style sind nicht genau untereinander. Wo muss ich denn da suchen ?
Habe schon alles versucht was mir so eingefallen ist. Bekomme es aber nicht hin. (siehe Anhang)

forumhome_forumbit_level1_nopost:

<if condition="$forum[forumid] != 0">
</table>

<br />

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
</if>
<tbody>
<tr>
<td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>" align="center">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>
<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
<if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
</td>
</tr>

<tr align="center">
<td class="thead" width="5%">&nbsp;</td>
<td class="thead" width="65%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" width="25%">$vbphrase[last_post]</td>
<td class="thead" width="5%">$vbphrase[threads]</td>
<td class="thead" width="5%">$vbphrase[posts]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="thead" width="0%">$vbphrase[moderator]</td>
</if>
</tr>
<if condition="$childforumbits">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
$childforumbits
</tbody>
</if>


Vielen Dank
Snatch

Tekram
25.06.2005, 14:08
Du gehst in dein Template: forumhome_forumbit_level1_nopost

Dann ersetzt Du deinen kompletten Code mit dem hier:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>
<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
<if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
</td>
</tr>
</thead>
<if condition="$childforumbits">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
<td class="thead" width="4%">&nbsp;</td>
<td class="thead" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" width="290">$vbphrase[last_post]</td>
<td class="thead" width="7%">$vbphrase[threads]</td>
<td class="thead" width="7%">$vbphrase[posts]</td>
<if condition="$vboptions[showmoderatorcolumn]">
<td class="thead" width="12%">$vbphrase[moderator]</td>
</if>
</tr>
$childforumbits

</tbody>
</if>

</table>
<div style="padding: 5px 5px 5px 5px;"></div>


Schon passt es und alles ist untereinander. Das wo ich die Zahl rot gefärbt habe, kannst Du natürlich auch eine kleinere oder grössere Zahle eingeben. Spiel mal ein bisschen rum... ^^

Snatch
25.06.2005, 19:09
Du bist mein Held, Danke die vielmals !!!

Hoffi
26.06.2005, 00:37
Wobei ich anmerken möchte das es immer noch möglich ist das es sich verschiebt wenn in einer der Spalten ein zu langer Text ist. Aber in den meisten Fällen sollte es jetzt klappen.

Zu 100% bekommt man das nicht hin, da immer wieder eine neue Tabelle auf gemacht wird.

Snatch
26.06.2005, 02:01
Im Moment zumindest passt alles.


Gruß
Snatch