html - How to arrange table td using rowspan -
i have arrange table cells shown in image below, using bootstrap, , have adjusted using colspan. not works in image.
i have fiddeled here
<table class="table table-bordered table-responsive"> <thead></thead> <tfoot></tfoot> <tbody> <tr> <td rowspan="4">a</td> <td rowspan="2" colspan="2">aaa</td> </tr> <tr> <td>asas</td> <td>asas</td> </tr> <tr> <td>asas</td> <td>asas</td> </tr> <tr> <td>asas</td> <td>asas</td> </tr> </tbody>
how can table shown in image.
i use this generate table:
<table border="1" width="500"> <tr> <td rowspan="3">1</td> <td colspan="2">2</td> </tr> <tr> <td>3</td> <td>4</td> </tr> <tr> <td>5</td> <td>6</td> </tr> <tr> <td rowspan="4">7</td> <td>8</td> <td>9</td> </tr> <tr> <td>10</td> <td>11</td> </tr> <tr> <td>12</td> <td>13</td> </tr> <tr> <td>14</td> <td>15</td> </tr> </table>
Comments
Post a Comment