Home > Web Front-end > HTML Tutorial > The super long table under IE8 is not displayed_html/css_WEB-ITnose

The super long table under IE8 is not displayed_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:47:31
Original
1054 people have browsed it

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. . .


Reply to discussion (solution)

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 a

date
. 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>
Copy after login

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.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template