Unordered List (
    ) default indent

前端 未结 8 1570
忘了有多久
忘了有多久 2020-12-03 10:15

Can anyone tell me why an unordered list has a default indent/padding applied to it? Can this be solved with a CSS Browser Reset?

8条回答
  •  庸人自扰
    2020-12-03 10:35

    It has a default indent/padding so that the bullets will not end up outside the list itself.

    A CSS reset might or might not contain rules to reset the list, that would depend on which one you use.

提交回复
热议问题