搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Ordered List (<ol> tag) - broken numbering

  • 3 回覆
  • 1 有這個問題
  • 4 次檢視
  • 最近回覆由 TyDraniu

more options

Hi everyone,

I have a strange issue with ordered list and sub ordered list, the numbering is inconsistant.

See pics for version "text" and "html" version.

The sub
    is part of the main
      but not included in the
    1. . Thunderbird do :
        <li>n°1 - main level
             <li>n°2 - main level
        <li>n°3 - main level
          <li>n°1 - second level <li>n°2 - second level
        <li>n°3 - main level (should be n°4) <li>n°4 - main level (should be n°5)
      The correct
        should be :
          <li>n°1 - main level
               <li>n°2 - main level
               <li>n°3 - main level
          
            <li>n°1 - second level <li>n°2 - second level
          <li>n°4 - main level <li>n°5 - main level

        I had to instal a plugin to edit the HTML

        Thanks !

Hi everyone, I have a strange issue with ordered list and sub ordered list, the numbering is inconsistant. See pics for version "text" and "html" version. The sub <ol> is part of the main <ol> but not included in the <li>. Thunderbird do : <ol> <li>n°1 - main level</li> <li>n°2 - main level<br> </li> <li>n°3 - main level'''</li>''' <ol> <li>n°1 - second level</li> <li>n°2 - second level</li> </ol> <li>n°3 - main level (should be n°4)</li> <li>n°4 - main level (should be n°5)</li> </ol> The correct <ol> should be : <ol> <li>n°1 - main level</li> <li>n°2 - main level<br> </li> <li>n°3 - main level <ol> <li>n°1 - second level</li> <li>n°2 - second level</li> </ol> '''</li>''' <li>n°4 - main level</li> <li>n°5 - main level</li> </ol> I had to instal a plugin to edit the HTML Thanks !
附加的畫面擷圖

所有回覆 (3)

more options

That's because internal OL should be inside LI, not outside.

more options

I know, but it like Thunderbird create it. Not really cool... It sound like a bug.

I have to edit the OL myself with a plugin (I'm webdeveloper), when I put the LI closer at the right place, it's ok.

But it should be automatic.

I didn't find a place to report bugs, do you know where I could drop this ?

more options

由 TyDraniu 於 修改