Schwede
Problembeschreibung:
Forenbreite anpassen
Link zum Forum oder Screenshot:
klick
Was wurde zuletzt geändert oder eingebaut?
User Pic, Clubmap, Usermap, Treffen, Lexikon, ACP Schutz
Nach den ganzen Angaben nun zu meinem Anliegen.
Ich möchte das mein Forum sich an die Jeweilige Monitor Größe automatisch anpasst.
Dies macht das bord ja auch soweit, allerdings nur als Gast.
Als User wird das Forum wieder schmal, ich will es aber breit haben.
Habe schon einiges versucht komme aber nicht weiter.
Beim Standard wird es angezeigt, genauso wie in einen anderen Style, aber in meinem Haupt Style da nicht.
Wie kann ich das Anpassen?
Danke für jeden Tipp
Gruß Schwede
mkkcs
dann stell mal im Designpack die Breite der äußeren Tabelle nicht auf 0
sondern auf 100% !!!
Schwede
Danke nur leider brachte das nicht den gewünschten Erfolg.
hardcore-punk
zeig mal deine header.tpl her...
die Breite gehört auf 100% gestellt (oder je nachdem wieviel du haben willst).
Außerdem ist ein " zu viel nach dem Doppelpunkt im quelletxt^ (oder du machst über haupt einfach width="100%" drauß :-)
Schwede
Ui das sieht aus wie Böhmische Dörfer .....
Ich hänge mal hier den Kompletten header.tpl an
code: |
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
|
<script type="text/javascript" src="js/wz_tooltip.js"></script>
<script type="text/javascript" src="js/tip_centerwindow.js"></script>
<table style="width:"{$style['tableoutcellpadding']}" cellspacing="{$style['tableoutcellspacing']}" align="center" border="{$style['tableoutborder']}" class="tableoutborder">
<tr>
<td class="mainpage" align="center">
<table style="width:100%" border="0" cellspacing="0" cellpadding="0">
<tr><td class="logobackground" align="center"><if($style['logoimage']!="")><then><a href="index.php?sid=$session[hash]"><img src="{$style['logoimage']}" border="0" alt="$master_board_name" title="$master_board_name" /></a></then></if></td></tr>
<tr>
<td class="logobackground" align="center"><span class="smallfont">
<br /><if($wbbuserdata['userid'])><then><a href="usercp.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_usercp.gif" border="0" alt="{$lang->items['LANG_GLOBAL_USERCP']}" title="{$lang->items['LANG_GLOBAL_USERCP']}" /></a> <a href="team.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_team.gif" border="0" alt="{$lang->items['LANG_GLOBAL_TEAM']}" title="{$lang->items['LANG_GLOBAL_TEAM']}" /></a> <a href="search.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_search.gif" border="0" alt="{$lang->items['LANG_GLOBAL_SEARCH']}" title="{$lang->items['LANG_GLOBAL_SEARCH']}" /></a> <a href="pms.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_pms.gif" border="0" alt="{$lang->items['LANG_GLOBAL_PMS']}" title="{$lang->items['LANG_GLOBAL_PMS']}" /></a></then><else> <a href="register.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_register.gif" border="0" alt="{$lang->items['LANG_GLOBAL_REGISTER']}" title="{$lang->items['LANG_GLOBAL_REGISTER']}" /></a></else></if> <a href="calendar.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_calendar.gif" border="0" alt="{$lang->items['LANG_GLOBAL_CALENDAR']}" title="{$lang->items['LANG_GLOBAL_CALENDAR']}" /></a> <a href="index.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_start.gif" border="0" alt="{$lang->items['LANG_GLOBAL_TOINDEX']}" title="{$lang->items['LANG_GLOBAL_TOINDEX']}" /></a><if($wbbuserdata['userid'])><then></a></then></if> <a href="memberslist.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_members.gif" border="0" alt="{$lang->items['LANG_GLOBAL_MEMBERSLIST']}" title="{$lang->items['LANG_GLOBAL_MEMBERSLIST']}" /></a><br /><br /> <a href="hmportal.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_portal.gif"
border="0" alt="{$lang->items['LANG_GLOBAL_HMPORTAL']}"
title="{$lang->items['LANG_GLOBAL_HMPORTAL']}" /></a> <a href="vgtreffen.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_treffen.gif" border="0" alt="{$lang->item['LANG_GLOBAL_VGTREFFEN_TITLE']}" title="{$lang->item['LANG_GLOBAL_VGTREFFEN_TITLE']}" /></a> <a href="club_locator.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_club.gif" border="0" alt="{$lang->item['LANG_GLOBAL_CLUB_LOCATOR_TITLE']}" title="{$lang->item['LANG_GLOBAL_CLUB_LOCATOR_TITLE']}" /></a> <a href="misc.php?action=faq{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/top_faq.gif" border="0" alt="{$lang->items['LANG_GLOBAL_FAQ']}" title="{$lang->items['LANG_GLOBAL_FAQ']}" /></a></span><if($wbbuserdata['a_can_use_acp']==1 && $wbbuserdata['a_acp_or_mcp']==1)><then> <a href="acp/index.php" target="_blank"><img src="{$style['imagefolder']}/top_acp.gif" border="0" alt="{$lang->items['LANG_GLOBAL_ACP']}" title="{$lang->items['LANG_GLOBAL_ACP']}" /></a></then></if><if($wbbuserdata['a_can_use_acp']==1 && $wbbuserdata['a_acp_or_mcp']==0)><then> <a href="acp/index.php" target="_blank"><img src="{$style['imagefolder']}/top_modcp.gif" border="0" alt="{$lang->items['LANG_GLOBAL_MODCP']}" title="{$lang->items['LANG_GLOBAL_MODCP']}" /></a></then></if> </td>
</tr>
</table>
<br /> |
|
kokolores
<table style="width:100%" border="0" cellspacing="0" cellpadding="0">
->
<table style width="100%" border="0" cellspacing="0" cellpadding="0">
hardcore-punk
Zitat: |
Original von kokolores
<table style="width:100%" border="0" cellspacing="0" cellpadding="0">
->
<table style width="100%" border="0" cellspacing="0" cellpadding="0"> |
hä?
Ich hab den ersten Table gemeint, der das Forum aufspannt.
Ersetze:
code: |
1:
2:
3:
|
<table style="width:"{$style['tableoutcellpadding']}" cellspacing="{$style['tableoutcellspacing']}" align="center" border="{$style['tableoutborder']}" class="tableoutborder">
|
|
mit
code: |
1:
2:
3:
|
<table style="width:{$style['tableoutwidth']}" cellpadding="{$style['tableoutcellpadding']}" cellspacing="{$style['tableoutcellspacing']}" align="center" border="{$style['tableoutborder']}" class="tableoutborder">
|
|
bei dir war ein " zuviel drinnen. Wie auch immer das da reingekommen ist
Kann sein, dass das die Probleme verursacht.