Home >Web Front-end >HTML Tutorial >The super long table under IE8 is not displayed_html/css_WEB-ITnose
A simple table, but with a lot of columns, about 1,000 columns, can be easily displayed in all major browsers, but why is it not displayed in IE8 and 9?
The code is too long and cannot be posted. . .
More than 1000 columns
Your needs are too special and I have never experienced it.
Make a Gantt chart to display dates. Each day is ab6c5a531a458a2e790c1fd6421739d1cdc6dce4a544fdca2df29d5ac0ea9906bdate16b28748ea4df4d9c2150843fecfba68b90dd5946f0946207856a8a37f441edf. In this way, the data displayed for 3 years is 1000
More than 1000 columns
I made a chestnut, you can study it, 1500 columns will not be displayed in IE8, other browsers can easily add smiles
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head> <title></title> <script type="text/javascript" > function table() { var td="<table><tr>"; for (var i = 0; i < 1500; i++) { td+="<td><div>"+i+"</div></td>"; } td += "</tr></table>" document.getElementById("table").innerHTML = td; } </script></head><body> <input type="button" onclick="table();" value="载入" /> <div id="table"> </div></body></html>
Wouldn’t it be better to store it in a database, and then query a certain part for output when using it?
Why should the entire page be output on the page?
Xiaobai passed by.
You could make something like turning a page and it will regenerate when turning the page. Will anyone read this?
I believe you are talking about more than 1,000 lines. Can you see more than 1,000 columns on the monitor? They are all one line.