How To Do Colspan For More Than 1000 Columns In A HTML Table?
Có thể bạn quan tâm
As already stated you should use div(s) instead of table :
Just consider <div class = "table-data"></div> as td tag .
Here is the code :
<!DOCTYPE html> <html> <head> <style> #colspan{ border: 3px solid black; padding: 7px; margin-bottom: 10px; } .table-data{ border: 3px solid black; padding: 10px; display: inline; } .table{ display: table; } </style> </head> <body> <div class = "table"> <div id = "colspan"></div> <div> <div class = "table-data"></div> <div class = "table-data"></div> <div class = "table-data"></div> <div class = "table-data"></div> .... <div class = "table-data"></div> <div class = "table-data"></div> </div> </div> </body> </html>This should solve the problem of more than 1000 columns.
Từ khóa » Html Table Span Columns And Rows
-
HTML Table Colspan & Rowspan - W3Schools
-
HTML Td Rowspan Attribute - W3Schools
-
Table Rowspan And Colspan In HTML Explained (With Examples) »
-
What Are Table Rowspan And Colspan In HTML? - Tutorialspoint
-
Table Colspan And Rowspan - HTML
-
HTML Table Colspan And Rowspan - Mockstacks Free Tutorials For ...
-
HTML | Colspan Attribute - GeeksforGeeks
-
HTML | Rowspan Attribute - GeeksforGeeks
-
Tables In HTML Documents
-
Html Table Row Span Code Example - Code Grepper
-
Table Row Span All Columns Code Example - Code Grepper
-
HTML Tutorial => Spanning Columns Or Rows
-
How To Combine Or Merge Cells In An HTML Table - Computer Hope
-
The Table Element - HTML: HyperText Markup Language | MDN