gpt4 book ai didi

html - 在有序列表中缩进文本

转载 作者:太空宇宙 更新时间:2023-11-04 15:37:11 25 4
gpt4 key购买 nike

我想像下图那样显示我的文字内容。怎么做?我试过 this但它不会从第二行缩进。我还尝试将该内容放在 2 行 2 列的 < table > 中,但问题是我无法按照我的意愿为 < table > 留白。

enter image description here

更新:

代码缩进正确,但问题是我不能按我想要的方式为表格留白。

<table>
<tr>
<td>(1) </td>
<td>zzzzzzzzzzzzzzzzzzz</td>
</tr>

<tr>
<td>(2) </td>
<td>zzzzzzzzzzzzzzzzzzz</td>
</tr>
</table>

最佳答案

我想您正在寻找这个 fiddle .

这是使用普通列表和 CSS counter创建列表编号。它会随着每个 ol 重新开始,重新从头开始。

来源:StackOverflow: How can you customize the numbers in an ordered list?

关于html - 在有序列表中缩进文本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12635598/

有很多margin和padding问题。

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com