感觉可能showalls.php这个页面本身有问题,建议换个页面试下.
或者,直接查看ff的错误控制台.

解决方案 »

  1.   

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <title></title>showalls.php页面的代码<link rel="stylesheet" type="text/css" href="css/showalls.css" />
    </head>
    <body>
    <div id="showallsmain">
        <div id="showallsmain_left">
        <div id="searchfriend">
        <form name="form" action="searchfriend.php" method="post">
        <input name="search" id="search" type="search" value="找网友..." size="30" class="searchtype"/>
    <input name="hidden" type="hidden" value="search1" />
    <input name="submit" type="submit" value="" class="submittype" />
    </form>
    </div>
    </div>
    <div id="showallsmain_right"> 0</div>
    </div>
    </body>
    </html>showalls.css文件代码body{
      text-align:center;
      margin:0 auto 0 auto;
      padding:0;
    }
    #showallsmain{
      margin:0 auto 0 auto;
      width:740px;
    }
    #showallsmain_left{
      float:left;
      width:530px;

    #showallsmain_right{
      float:right;
      width:200px;
      border:5px solid #0066CC;
      height:500px;
    }
    #searchfriend{
      width:520px;
      height:25px;
    }
    .searchtype{
      height:16px;
    }
    .submittype{
      width:23px;
      height:22px;
      border:0;
      background:url(../img/search.gif) no-repeat;
    }
      

  2.   

    DIV里没有高度。火狐显示不出来。再div里加上style="height:700px;"之类的就可以了。