CSS Rendering inconsistency on ul with Firefox being the odd ball out

前端 未结 6 1435
既然无缘
既然无缘 2021-02-01 18:03

Background

I was creating a secondary navigation menu using embedded unordered lists with anchors and headers. Using a CSS reset sheet all headers and anchors are set

6条回答
  •  南方客
    南方客 (楼主)
    2021-02-01 18:39

    I tried both samples and experimented a bit myself.

    The differentiating factor is strangely "list-style-position". Somehow in FF, "inside" and "outside" have "inline" and "block" effects for the bullets.

    I can't tell you why, probably need to dig into the rendering engine.

提交回复
热议问题