The code is syntactically distorted ( width attributes accept numerical or percentage values, not units of px ), although this is pardoned by browsers. More seriously, you set conflicting requirements: the table should be 660 pixels wide, but consists of two cells 160 pixels wide. Not surprisingly, browser behavior is incompatible.
However, IE 8 and IE 9 behave like other browsers when in "Standard Mode". Otherwise, everything can happen in Quirks mode , and you cannot call it an error because the document does not meet the requirements. So add an adequate doctype declaration.
In addition, conflicting requirements are best avoided. If you need to set the overall width of the table in pixels, let it be. Then either set the width of the columns so that they fold or, more simply, are set, for example. width up to 50% (for a table with two columns, which must be balanced).
source share