---
title: "IE67绝对定位的bug及其解决办法"
author: "zhoon"
date: "2012-09-23T10:32:37Z"
tags: []
categories: ["Web前端"]
slug: "ie67-bug"
draft: false
lastmod: "2012-09-23T10:32:37Z"
id: 1683732
url: "https://zhoon.iteye.com/blog/1683732"
---

IE67绝对定位的bug及其解决办法。position:absolute定位在IE6下存在left和bottom的定位错误问题： 

解决办法有两种：  
1、给父层设置zoom:1触发layout。   
2、给父层设置宽度/高度（width/height ）。