单元格里面设置了<td width="116" height="37"> <img src="" width="116" height="37" border="0"/></td>
table中的其他单元格的高度也全部是37而且 table 还设置了 cellpadding="0" cellspacing="0"结果在firefox中浏览正常  在ie中高度被撑大三个像素  请问怎么解决这个问题,希望高手指点下

解决方案 »

  1.   

    <img style="float:left;"
    或者把 图片当成 td 的背景
      

  2.   

    设定下表格的样式。style="table-layout:fixed"
      

  3.   

    style="table-layout:fixed"  试过  没用 
    <img style="float:left;"  可以解决问题
      

  4.   

    height:37px;
    _height:34px;用点css小技巧好了
      

  5.   

    height:37px; 
    +height:34px; 
    这样就好了
      

  6.   

    你的图片有没设置margin:0; padding:0 ? 最好在外层over-flow:hidden; 免得撑破表格