---
title: "ie7 显示不了 ol 数字的解决方法"
author: "rexcn"
date: "2011-01-20T11:31:57Z"
tags: []
categories: ["Web前端"]
slug: "ie7-ol"
draft: false
lastmod: "2011-01-20T11:31:57Z"
id: 889587
url: "https://rexcn.iteye.com/blog/889587"
---

今天莫名其妙的遇到 ie7 显示不了 ol 的数字，加上 clear:left 解决。

    ol.newClaim { margin::-18px 0 0 4em; clear:left }

其中 -18px 的上边距是用于解决 ie7 出现的上边距和 ff 不一样的 hack，可根据实际情况决定是否添加此负值。