Jump to content

can't get td height to work in firefox


karimali831

Recommended Posts

Hi!

 

Please take a look at on both Firefox and Chrome:

 

http://painstreetnation.com/index.php?site=standings&ladderID=30&start=61

 

On Chrome the td height is fixed where as Firefox the td height stretches because of the bars

on the right? How can I get the td height to be fixed like how Chrome displays it?

 

This is the tr codes:-

 

echo '<tr bgcolor="'.$bg_color_dd.'" onMouseOver="this.style.backgroundColor=\''.$hover_color.'\'" onMouseOut="this.style.backgroundColor=\''.$bg_color_dd.'\'">
       <td style="height:27px; width:7%;">'.$position.''.$rank.'.</td>
       <td style="height:27px; width:30%;"><a href="'.getname3($teamID,$ds['ladID'],$ac=0,$var="ladder").'" name="hover_dt_'.$rank.'" style="text-decoration:none; cursor:help" onmouseover="showWMTT(\'hover_dt_'.$rank.'\')" onmouseout="hideWMTT()">'.(ladderis1on1($ds['ladID']) ? getusercountry3($teamID,$ac=0) : '<img src="images/flags/'.getclancountry($teamID,$img=0).'.gif">').' <strong>'.getname2($teamID,$ds['ladID'],$ac=0,$var="ladder").'</strong></a>'.$extras.$extras1.$extras2.$extras3.$extras4.$extras5.$extras6.$extras7.$extras8.'</td>
       <td style="height:27px;" align="center"><strong>'.$ds['tp'].'</td></strong>
       <td style="height:27px;" align="center"><strong>'.$last_points.'</td></strong>
       <td style="height:27px;" align="center"><strong><font color="'.$wincolor.'">'.$won.'</font></strong></td>
       <td style="height:27px;" align="center"><strong><font color="'.$drawcolor.'">'.$draw.'</font></strong></td>
       <td style="height:27px;" align="center"><strong><font color="'.$loosecolor.'">'.$lost.'</font></strong></td>
       <td style="height:27px;" align="center"><strong><font color="'.$wincolor.'">'.getstreak($teamID,$laddID).'</font></strong></td>
       <td style="height:27px;" align="center">'.$rating.'</td>
       <td style="height:27px;" align="center">'.$fight.'</td>
      </tr>'; 

      $rank++;
   }
   
   if($are_participants) {
      echo '<tr>
              <td style="height:27px;" bgcolor="'.$pagebg.'" align="center" colspan="10">'.$button_prev.$button_next.'</td>
            </tr>
            </table>';  
   }   

 

Thanks all

Link to comment
Share on other sites

  • 2 weeks later...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.