为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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于修改