簡體   English   中英

如何修復html有序列表?

[英]How to fix html ordered list?

我將 docx 文件轉換為 html 文件https://drive.google.com/file/d/1KYR_lvl6YySKAvgzzg8JPhCc9G5S-_dL/view?usp=sharing -- 完整的 html 代碼

我有這個 html 文件

1.            Предмет договора

但我想擁有

1. Предмет договора

如何修復此代碼

<ol style='margin-top:0cm' start=1 type=1>
 <li class=MsoNormal style='margin-right:2.15pt;text-align:center'><b><span
     style='font-size:12.0pt;letter-spacing:-.3pt'>Предмет договора.</span></b></li>
</ol>

在此處輸入圖像描述

以這種方式定位的是li上的text-align:center 如果您不想要,那么只需將其刪除。 代碼看起來像這樣:

<ol style='margin-top:0cm' start=1 type=1>
 <li class=MsoNormal style='margin-right:2.15pt'><b><span
     style='font-size:12.0pt;letter-spacing:-.3pt'>Предмет договора.</span></b></li>
</ol>

<li class=MsoNormal style='margin-right:2.15pt;text-align:center'>中刪除text-align:center -align:center 。

前:

<ol style='margin-top:0cm' start=1 type=1>
 <li class="MsoNormal" style='margin-right:2.15pt;text-align:center'><b><span
     style='font-size:12.0pt;letter-spacing:-.3pt'>Предмет договора.</span></b></li>
</ol>

后:

<ol style='margin-top:0cm' start=1 type=1>
 <li class=MsoNormal style='margin-right:2.15pt;'><b><span
     style='font-size:12.0pt;letter-spacing:-.3pt'>Предмет договора.</span></b></li>
</ol>

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM