---
title: "div 的自动扩充 火狐 ie的兼容"
author: "ztfjava"
date: "2011-03-22T16:35:25Z"
tags: []
categories: ["Web前端"]
slug: "div-ie"
draft: false
lastmod: "2011-03-22T16:35:25Z"
id: 970727
url: "https://ztfjava.iteye.com/blog/970727"
---

好久没有发表文章了 今天在修改页面的时候用到了 div 的自动扩充 要求火狐 ie 6、7、8 都兼容 
格式如下
style="word-wrap:break-word;word-break:break-all;white-space:normal;width:540px;"
 就行了