IE正确缩进表中的表,但Firefox没有

时间:2013-05-09 15:51:50

标签: html

我认为这个问题可能出现在& nbsp所以我一直在玩这个问题但是没有解决它。我假设IE要么忽略不正确的代码,这就是它在IE上看起来正确的原因

  <TABLE CLASS=cTable BORDER=1 CELLPADDING=4 CELLSPACING=0 width=50%>
  <TR>
     <TH 
     class=TH1 colspan=3>Hours Summary for 04/17/2011 - 04/30/2011
     </TH>
     <TH class=TH1>

  </TR>
  <TR>
      <TH>
      Cost Center
      </TH>
  <TH>
      Cost Center Name<br> <font size = '1'>Cost Center Owner</font>
  </TH>
  <TH>
      Completion<br>Status
  </TH>
  <TH>
      Approval<br>Status
  </TH>
  </TR>


  <TR CLASS='cTableAltTD' >
      <TD 
      align='center'><a href='javascript:ToggleDisplay("tr427200");'>427200</a>
      </TD>
      <TD 
       align='center'>MEDCTR-NON MED CENTER APPROVERS<br>HARRISON,RODNEY STEVEN
      </TD>
      <TD 
       align='center'><IMG SRC='Art/CircleRed.gif' 
       BORDER=0 HEIGHT=16 WIDTH=16 ALT='Does not meet Min Requirement'>
      </TD>
      <TD 
       align='center'><IMG SRC='Art/CircleRed.gif' 
       BORDER=0 HEIGHT=16 WIDTH=16 ALT='Does not meet Min Requirement'>
      </TD>
  </TR>
  <TR id=tr427200 style='display: table'>
      <TD>&nbsp;
      </td>
      <TD colspan=3>
<TABLE CLASS=cTable BORDER=1 CELLPADDING=4 CELLSPACING=0 width=100%> 

<TR>
   <TH class=TH1 colspan=6>
      <TR>
          <TH>
              Timesheet Group
          </TH>
          <TH>
               Primary Approver
          </TH>
          <TH>
              Completion<br>Status
          </TH>
          <TH>
              Approval<br>Status
          </TH>
      </TR>

</TABLE>

0 个答案:

没有答案