css - HTML Table width in IE? -


I'm using the table to display a set of data, my HTML code goes here ... < / P>

  & lt; Table range = "1" cell exposure = "0" cell padding = "0" style = "width: 780px;" & Gt; & Lt; Tbody & gt; & Lt; TR & gt; & Lt; Td style = "width: 780px; height: 25px;" & Gt; & Lt; East width = '100' style = 'width: 780 pixels; Wrap-wrap: break-word; '& Gt; The data goes here .... & Lt; / Pre & gt; & Lt; / TD & gt; & Lt; / TR & gt; & Lt; TR & gt; & Lt; Td style = "width: 780px; height: 25px;" & Gt; & Lt; East width = '100' style = 'width: 780 pixels; Wrap-wrap: break-word; '& Gt; The data goes here .... & Lt; / Pre & gt; & Lt; / TD & gt; & Lt; / TR & gt; & Lt; / Tbody & gt; & Lt; / Table & gt;  

This table works fine in Firefox, Safari and IE8. But the problem arises in IE 7, IE 6. The table expands and exits from the screen (i.e. spreads to the right hand side of the x-axis) .... is there a hack to fix it ?

IE 6 screen shots in IETester:

Enter image details here Use

  table {table-layout: fixed;}  

Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -