Jump to content
InvisionCommunity.de - Der Deutsche Invision Community Support
Sign in to follow this  
zer0

Problem mit Firefox

Recommended Posts

Hallo Community

Ich habe da ein kleines Problem...

Surft ein User mit Firefox auf unserem Index, werden die Kategorien nicht richtig angezeigt. Der "Tableborder" wird meines erachtens nicht angezeigt.

Mit dem IE hingegen ist alles in Ordnung.

zum selber schauen: http://forum.punkz.net/index.php?act=idx

Irgendetwas an der funktion CatHeader_Expanded in der skin_boards.php müsste nicht in ordnung sein...

Leider peil ich das nicht, darum frag ich höfilch, ob sich jemand der sich damit auskennt, mal anschauen könnte....

hier die funktion:

function CatHeader_Expanded($Data) {

global $ibforums;

return <<<EOF

	<div id='b{$Data['id']}h' style='display:{$Data['contract_on']}'>

  <div class="tableborder">

  	<table width="100%" border="0" cellspacing="0" cellpadding="0">

  	<tr class='maintitle'>

    <td align='left'><{CAT_IMG}>&nbsp;<a href="{$ibforums->base_url}act=SC&amp;c={$Data['id']}">{$Data['name']}</a></td>

    <td align='right'><a href="javascript:ShowHide('b{$Data['id']}s','b{$Data['id']}h')"><{MAXI}></a>&nbsp;&nbsp;</td>

  	</tr>

  	</table>

  </div>

  <br />

	</div>

	<div id='b{$Data['id']}s' style='display:{$Data['expanded_on']}'>

  <div class="tableborder">

  	<table width="100%" border="0" cellspacing="0" cellpadding="0">

  	<tr class='maintitle'>

    <td align='left'><{CAT_IMG}>&nbsp;<a href="{$ibforums->base_url}act=SC&amp;c={$Data['id']}">{$Data['name']}</a></td>

    <td align='right'>&nbsp;<a href="javascript:ShowHide('b{$Data['id']}s','b{$Data['id']}h')"><{MINI}></a>&nbsp;&nbsp;</td>

  	</tr>

  	</table>

  	<table width="100%" border="0" cellspacing="1" cellpadding="4">

  	<tr> 

     <th align="center" width="2%" class='titlemedium'><img src="{$ibforums->vars['img_url']}/spacer.gif" alt="" width="28" height="1" /></th>

     <th align="left" width="57%" class='titlemedium'>{$ibforums->lang['cat_name']}</th>

     <th align="center" width="7%" class='titlemedium'>{$ibforums->lang['topics']}</th>

     <th align="center" width="7%" class='titlemedium'>{$ibforums->lang['replies']}</th>

     <th align="left" width="24%" class='titlemedium'>{$ibforums->lang['last_post_info']}</th>

     <th align="center" width="7%" class='titlemedium'>Optionen</th>

  	</tr>

EOF;

}

Edited by zer0

Share this post


Link to post

Probier mal

function CatHeader_Expanded($Data) {
global $ibforums;
return <<<EOF
<div id='b{$Data['id']}h' style='display:{$Data['contract_on']}'>
<div class="tableborder">
 <table width="100%" border="0" cellspacing="0" cellpadding="0">
 <tr class='maintitle'>
  <td align='left' class='maintitle'><{CAT_IMG}> <a href="{$ibforums->base_url}act=SC&c={$Data['id']}">{$Data['name']}</a></td>
  <td align='right' class='maintitle'><a href="javascript:ShowHide('b{$Data['id']}s','b{$Data['id']}h')"><{MAXI}></a> </td>
 </tr>
 </table>
</div>
<br />
</div>
<div id='b{$Data['id']}s' style='display:{$Data['expanded_on']}'>
<div class="tableborder">
 <table width="100%" border="0" cellspacing="0" cellpadding="0">
 <tr class='maintitle'>
  <td align='left' class='maintitle'><{CAT_IMG}> <a href="{$ibforums->base_url}act=SC&c={$Data['id']}">{$Data['name']}</a></td>
  <td align='right'class='maintitle'> <a href="javascript:ShowHide('b{$Data['id']}s','b{$Data['id']}h')"><{MINI}></a> </td>
 </tr>
 </table>
 <table width="100%" border="0" cellspacing="1" cellpadding="4">
 <tr>
   <th align="center" width="2%" class='titlemedium'><img src="{$ibforums->vars['img_url']}/spacer.gif" alt="" width="28" height="1" /></th>
   <th align="left" width="57%" class='titlemedium'>{$ibforums->lang['cat_name']}</th>
   <th align="center" width="7%" class='titlemedium'>{$ibforums->lang['topics']}</th>
   <th align="center" width="7%" class='titlemedium'>{$ibforums->lang['replies']}</th>
   <th align="left" width="24%" class='titlemedium'>{$ibforums->lang['last_post_info']}</th>
   <th align="center" width="7%" class='titlemedium'>Optionen</th>
 </tr>
EOF;
}

Share this post


Link to post

Nebenbei, das Problem lag nicht an Firefox, der hat alles in meinen Augen richtig interpretiert. ;)

Du legst die Grafik in deinem originalen Quelltext in den

Tag, was ja eigentlich auch funktioniert. Jedoch hast du in deinem CSS Style folgende Einstellung gemacht:

TABLE, TR, TD { font-family: Verdana, Tahoma, Arial, sans-serif;font-size: 11px;color: #FFFFFF;background-color: #000000; }

Diese werden ja für die Tags

, und
verwendet, die keinen anderen Style zugewiesen bekommen haben. Somit haben die Tags die oben geschriebene Einstellungen bekommen und da dort background-color: #000000; drin steht, haben sie als Hintergrundfarbe schwarz genommen.

Kurz gesagt, du hast über die Grafik mit schwarzer Farbe drübergepinselt. :lol:

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×