开发者

CSS: question about lists

is there any way to create a table like this below using lists ?

**************
*  1  * 1.1  *
**************
    开发者_运维百科  * 1.2  *    
      ********
      * 1.3  *    
      ********
      * 1.4  *    
      ********

Regards

Javi


I would use two <UL>

ex:

<ul><li>List 1
    <ul><li>Item 1.1</li>
        <li>Item 1.2</li>
    </ul>
    </li>
</ul>

This would show up like this :

  • List 1
    • Item 1.1
    • Item 1.2

After that, you could add css class to organize it all!


<table border=1>
  <tr><td>1</td><td>1.1</td></tr>
  <tr><td rowspan=3></td><td>1.2</td></tr>
  <tr><td>1.3</td></tr>
  <tr><td>1.4</td></tr>
</table>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜