HTML表信息 [英] HTML Tables info

查看:127
本文介绍了HTML表信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否有任何方法使html中的表格看起来像这样:

I was wondering if there was any way to make tables in html to look exactly like this:

http://i43.tinypic.com/21dml8l.png

我基本上需要1个大单元格,在第一列中,然后在第二列中的9个单元格。

I basicly need 1 big cell, in first column, and then 9 cells in second column.

这是可能吗?

推荐答案

<table>
  <tr>
    <td rowspan="9">
      Cell
    </td>
    <td>
      Cell 1
    </td>
  </tr>
  <tr>
    <td>
      Cell 2
    </td>
  </tr>
  <tr>
    <td>
      Cell 3
    </td>
  </tr>
  <tr>
    <td>
      Cell 4
    </td>
  </tr>
  <tr>
    <td>
      Cell 5
    </td>
  </tr>
  <tr>
    <td>
      Cell 6
    </td>
  </tr>
  <tr>
    <td>
      Cell 7
    </td>
  </tr>
  <tr>
    <td>
      Cell 8
    </td>
  </tr>
  <tr>
    <td>
      Cell 9
    </td>
  </tr>
</table>

这篇关于HTML表信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆