Strich unter Top Buttons

helmlein
Hallo,

unter Profil und Pn Box ist so ein hässlicher Streifen (siehe Anhang).

Ich häng euch auch gleich mal die index.tpl an. Vielleicht habt ihr ja ein Lösung unglücklich

code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:

<if($wbbuserdata['userid']==0)> 
 <then> 
</then> 
</if>
<table style="width:{$style['tableoutwidth']}" cellpadding="{$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 style="background-image: url({$style['imagefolder']}/topline.gif); height:6px;"></td>
    </tr>
     <td class="logobackground" align="center"><if($style['logoimage']!="")><then><a href="index.php{$SID_ARG_1ST}"><img src="{$style['logoimage']}" border="0" alt="$master_board_name" title="$master_board_name" /></a></then></if></td>
    </tr>
    <tr>
    <td style="background-image: url({$style['imagefolder']}/headerline.gif); height:4px;"></td>
    </tr>
     <td align="center" style="background-image: url({$style['imagefolder']}/top_bg.gif);"><span class="smallfont"><if($wbbuserdata['userid'])><then>&nbsp;&nbsp;&nbsp;<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']}" />&nbsp;&nbsp;&nbsp;<a href="pms.php{$SID_ARG_1ST}"><if($wbbuserdata['pmnewcount'] == 1)>
<then>
<img src="{$style['imagefolder']}/top_pms_new.gif" border="0" alt="Neue PN" title="Neue PN" />
</then>
<else>
<img src="{$style['imagefolder']}/top_pms.gif" border="0" alt="{$lang->items['LANG_GLOBAL_PMS']}" title="{$lang->items['LANG_GLOBAL_PMS']}" />
</else>
</if></then><else>&nbsp;&nbsp;&nbsp;<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>&nbsp;&nbsp;&nbsp;<a href="jgs_portal_statistik.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_statistik.gif" border="0" alt="{$lang->items['LANG_GLOBAL_CALENDAR']}" title="{$lang->items['LANG_GLOBAL_CALENDAR']}" /></a>&nbsp;&nbsp;&nbsp;<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>&nbsp;&nbsp;&nbsp;<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>&nbsp;&nbsp;&nbsp;<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>&nbsp;&nbsp;&nbsp;<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>&nbsp;&nbsp;&nbsp;<a href="map.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_usermap.gif"
 border="0" alt="{$lang->item['LANG_GLOBAL_USER_MAP']}" title="{$lang->item['LANG_GLOBAL_USER_MAP']}" /></a><if($wbbuserdata['a_can_use_acp']==1 && $wbbuserdata['a_acp_or_mcp']==1)><then>&nbsp;&nbsp;&nbsp;<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>&nbsp;&nbsp;&nbsp;<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>&nbsp;&nbsp;&nbsp;<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>&nbsp;&nbsp;&nbsp;<a href="jgs_portal.php?sid=$session[hash]"><img src="{$style['imagefolder']}/top_portal.gif" border="0" alt="" /></a></span></td>
    </tr>
    <tr>
      <td style="background-image: url({$style['imagefolder']}/headerline.gif); height:4px;"></td>
    </tr>
   </table><br />
Benedikt
Ich denke dies sollte passen:

code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
<if($wbbuserdata['userid']==0)> 
 <then> 
</then> 
</if>
<table style="width:{$style['tableoutwidth']}" cellpadding="{$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 style="background-image: url({$style['imagefolder']}/topline.gif); height:6px;"></td>
    </tr>
     <td class="logobackground" align="center"><if($style['logoimage']!="")><then><a href="index.php{$SID_ARG_1ST}"><img src="{$style['logoimage']}" border="0" alt="$master_board_name" title="$master_board_name" /></a></then></if></td>
    </tr>
    <tr>
    <td style="background-image: url({$style['imagefolder']}/headerline.gif); height:4px;"></td>
    </tr>
     <td align="center" style="background-image: url({$style['imagefolder']}/top_bg.gif);"><span class="smallfont"><if($wbbuserdata['userid'])><then>&nbsp;&nbsp;&nbsp;<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>&nbsp;&nbsp;&nbsp;<a href="pms.php{$SID_ARG_1ST}"><if($wbbuserdata['pmnewcount'] == 1)>
<then>
<img src="{$style['imagefolder']}/top_pms_new.gif" border="0" alt="Neue PN" title="Neue PN" /></a>
</then>
<else>
<img src="{$style['imagefolder']}/top_pms.gif" border="0" alt="{$lang->items['LANG_GLOBAL_PMS']}" title="{$lang->items['LANG_GLOBAL_PMS']}" /></a>
</else>
</if></then><else>&nbsp;&nbsp;&nbsp;<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>&nbsp;&nbsp;&nbsp;<a href="jgs_portal_statistik.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_statistik.gif" border="0" alt="{$lang->items['LANG_GLOBAL_CALENDAR']}" title="{$lang->items['LANG_GLOBAL_CALENDAR']}" /></a>&nbsp;&nbsp;&nbsp;<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>&nbsp;&nbsp;&nbsp;<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>&nbsp;&nbsp;&nbsp;<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>&nbsp;&nbsp;&nbsp;<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>&nbsp;&nbsp;&nbsp;<a href="map.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_usermap.gif"
 border="0" alt="{$lang->item['LANG_GLOBAL_USER_MAP']}" title="{$lang->item['LANG_GLOBAL_USER_MAP']}" /></a><if($wbbuserdata['a_can_use_acp']==1 && $wbbuserdata['a_acp_or_mcp']==1)><then>&nbsp;&nbsp;&nbsp;<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>&nbsp;&nbsp;&nbsp;<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>&nbsp;&nbsp;&nbsp;<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>&nbsp;&nbsp;&nbsp;<a href="jgs_portal.php?sid=$session[hash]"><img src="{$style['imagefolder']}/top_portal.gif" border="0" alt="" /></a></span></td>
    </tr>
    <tr>
      <td style="background-image: url({$style['imagefolder']}/headerline.gif); height:4px;"></td>
    </tr>
   </table><br />


Du hast bei den Profilbuttons vergessen den Link zu schließen:

code:
1:
<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']}" />&nbsp; ...


Vor dem &nbsp; musste eben noch ein </a> hin.
Das gleiche gilt auch für den Postkasten.

Nimm den Code von oben, dort habe ich das schon gemacht.
helmlein
Danke schön. Klappt smile