It is only for reference and learning by novices. Everyone is welcome to propose more implementation methods.
< html xmlns="http://www.w3.org/1999/xhtml">
Simulate table diagonal
Simulated with div+css Table diagonal
Category < ;em>Name
|
Grade |
Class |
Grade< /th> Three
| 2 |
62 |
61 |
< ; td class="t1">李思
三 | 1 |
48 | 67< ;/td>
|
王五 |
三 | 5< /td>
| 79 | 63 |
三 | 4 | 89 | 66 |
< ;/body>
The above is an example tutorial on making a web page with HTML and CSS: simulating the diagonal content of a table. For more related articles, please pay attention to the PHP Chinese website (www.php.cn)!
Statement: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