。 ...明らかに2つのヘッダ、一つのテーブルでのショー応答
#states {
font-family: "gothic";
font-size: 11px;
color: #000;
width: 100%;
margin-top: 5px;
z-index: 99px;
}
<table id="states" style="overflow-x:auto; margin-left: 40px; margin-top: 4px; padding-right: 10px; border-left: none; border-right: #444242;">
\t <thead>
\t \t <tr>
\t \t \t <th colspan="1" style="text-align: left; border-radius: 15px 9000px 20px .1px; font-size: 10px; font-family: 'gothic'; background-color: #00508e; border:none;
\t \t \t width: 5cm; padding: 10px; color: white;">
\t \t \t A
\t \t </th>
\t </tr>
\t <tr style="margin: -0cm -1cm 0cm 1cm;border: 0; border-top: 3px solid #5b5b5e; line-height: 1; z-index: 1; ">
\t \t <th style="font-size:12px; border:left: #444242; border-right: none;">
\t \t \t a1
\t \t </th>
\t \t <th style="border:none; font-size:12px;">
\t \t \t b1
\t \t </th>
\t \t <th style="border:none; font-size:12px;">
\t \t \t c1
\t \t </th>
\t \t <th style="border:none; font-size:12px;">
\t \t \t d1
\t \t </th>
\t \t <th style="background-color:#d6e7ee; border:none; font-size:12px;">
\t \t \t e1
\t \t </th>
\t \t <th style="background-color:#d6e7ee; border:none; font-size:12px;">
\t \t \t f1
\t \t </th>
\t \t <th style="background-color:#d6e7ee; border:none; font-size:12px;">
\t \t \t g1
\t \t </th>
\t \t <th style="background-color:#d6e7ee; border:none; font-size:12px;">
\t \t \t h1
\t \t </th>
\t \t <th style="background-color:#d6e7ee; border-left: none; font-size:12px;">
\t \t \t i1
\t \t </th>
\t </tr>
</thead>
<tbody>
\t <tr style="background-color: #fff; font-size:12px;">
\t \t <td style="font-size:12px;">
\t \t \t a2
\t \t </td>
\t \t <td style="font-size:12px;">
\t \t \t b2
\t \t </td>
\t \t <td style="font-size:12px;">
\t \t \t c2
\t \t </td>
\t \t <td style="font-size:12px;">
\t \t \t d2
\t \t </td>
\t \t <td style="font-size:12px;">
\t \t \t e2
\t \t </td>
\t \t <td style="font-size:12px;">
\t \t \t f2
\t \t </td>
\t \t <td style="font-size:12px;">
\t \t \t g2
\t \t </td>
\t \t <td style="font-size:12px;">
\t \t \t h2
\t \t </td>
\t \t <td style="font-size:12px;">
\t \t \t i2
\t \t </td>
\t </tr>
</tbody>
</table>
、私はクラステーブル応答性を追加し、私はdiv要素でそれを行うみましたが、それはアルませんのy A1、B1、C1 ...
私は何をすべき:それは2つのヘッダを持っているので、それほど動作しますか? DIVSで
これが私の結果である:
テキストエディタでコードを入れて、それを正しく揃える - 私たちは前後に – dbmitch