---
title: "ie6下iframe标签内容无法显示bug"
author: "duobility"
date: "2012-02-01T16:25:42Z"
tags: []
categories: ["Web前端"]
slug: "ie6-iframe-bug"
draft: false
lastmod: "2012-02-01T16:25:42Z"
id: 1389057
url: "https://duobility.iteye.com/blog/1389057"
---

最近在项目中使用到了iframe标签，页面在firefox, chrome， ie9中都运行正常， 但是在ie6下页面却无法显示

 

列举个网上的解决方案：http://www.iteye.com/topic/386908

 

依次测试，发现问题依旧，最后看到（http://www.zhixing123.cn/computer/19004.html）说在服务器端开启了GZIP压缩可能会导致这个问题 。关闭apache的Gzip压缩后，重启apache，问题消失.