This topic is locked

Table Centered In Ie Only

5/28/2013 5:56:20 AM
PHPRunner General questions
W
Windfall author

Hello.

I'm having a problem with the presentation of the table with the records consulted. Only in Internet Explorer it appears centered. In all other browsers it appears aligned to the left (which is what I want). The problem is that I can not find what is making her stay centered in IE. No tags <center>. Below is the code. Could analyze it?
{BEGIN grid_block}<DIV style="WIDTH: 97px; BACKGROUND: url(images/table.png) no-repeat" id="grid_block{$id}">
<TABLE style="WIDTH: 50%; BACKGROUND: url(images/table.png) no-repeat; HEIGHT: 40px" class=body2 border=0 cellSpacing=0 cellPadding=0 name="maintable">{BEGIN grid_row}
<TBODY style="WIDTH: 97px; BACKGROUND: url(images/table.png) no-repeat">
<TR {$rowattrs}>{BEGIN grid_record}
<TD style="WIDTH: 950px; BACKGROUND: url(images/table.png) no-repeat" vAlign=top align=middle>{BEGIN grid_vrecord}
<TABLE style="WIDTH: 950px; HEIGHT: 0%" border=0 cellSpacing=0 cellPadding=0 width=1000 align=left height=65>
<TBODY style="WIDTH: 97px; BACKGROUND: url(images/table.png) no-repeat">
<TR style="WIDTH: 97px; BACKGROUND: url(images/table.png) no-repeat">
<TD>&nbsp;</TD>
<TD colSpan=4>&nbsp;</TD></TR>
<TR style="WIDTH: 97px; BACKGROUND: url(images/table.png) no-repeat" height=1>
<TD style="WIDTH: 5px; WHITE-SPACE: normal; BACKGROUND: url(images/table.png) no-repeat" rowSpan=3>&nbsp;</TD>
<TD style="WIDTH: 60px; WHITE-SPACE: normal; BACKGROUND: url(images/table.png) no-repeat; HEIGHT: 0%" rowSpan=3>
<P align=center>{$img_value}{$crc_value}</P></TD>
<TD style="WIDTH: 5px; WHITE-SPACE: normal" rowSpan=3>&nbsp;</TD>
<TD style="BACKGROUND-COLOR: #d5e6f7; WIDTH: 100%; WHITE-SPACE: normal; HEIGHT: 0%">
<P>{$Fun_value}{$Nom_value}</P></TD>
<TD style="BACKGROUND-COLOR: #d5e6f7; WIDTH: 79px; WHITE-SPACE: nowrap">
<P align=right>&nbsp;&nbsp;{$Ico_value}</P></TD></TR>
{BEGIN Crc_fieldcolumn}<TR style="WIDTH: 97px; BACKGROUND: url(images/table.png) no-repeat" height=22>
<TD style="WIDTH: 100%; WHITE-SPACE: normal; BACKGROUND: url(images/table.png) no-repeat; HEIGHT: 0%" colSpan=2>{$Ment_value}</TD></TR>{END Crc_fieldcolumn}
{BEGIN I_fieldcolumn}<TR style="WIDTH: 97px; BACKGROUND: url(images/table.png) no-repeat" height=21>
<TD style="WIDTH: 100%; WHITE-SPACE: normal; BACKGROUND: url(images/table.png) no-repeat; HEIGHT: 0%" colSpan=2>
<P align=right>{$DH_value}</P></TD></TR>{END I_fieldcolumn}</TBODY></TABLE>{END grid_vrecord}</TD>
{BEGIN endrecord_block}<TD style="WIDTH: 1px" class=body2 width=20 {$endrecordblock_attrs}>&nbsp;</TD>{END endrecord_block}{END grid_record}</TR>
{BEGIN grid_rowspace}<TR style="WIDTH: 97px; BACKGROUND: url(images/table.png) no-repeat" height=2 {$rowspace_attrs}>{BEGIN grid_recordspace}
<TD style="WIDTH: 901px; BACKGROUND: url(images/table.png) no-repeat" class=body2>
<P>&nbsp;</P></TD>{END grid_recordspace}</TR>{END grid_rowspace}</TBODY>{END grid_row}</TABLE></DIV>{END grid_block}
IE


Others Browsers