码迷,mamicode.com
首页 > 其他好文 > 详细

兼容ie9的左中右布局

时间:2018-01-19 14:07:33      阅读:144      评论:0      收藏:0      [点我收藏+]

标签:post   htm   isp   content   不兼容   set   doctype   important   port   

flex不兼容ie9,所以

<!DOCTYPE html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>标题</title>
</head>
<body>

<table >
<tr><td >
<div>
<p ><img src="images/newadd1/chakan.png"><span>cccc</span></p>
<p ><img src="images/newadd1/chakan.png"><span>cccc</span></p>
<p ><img src="images/newadd1/chakan.png"><span>cccc</span></p>
<p ><img src="images/newadd1/chakan.png"><span>cccc</span></p>
<p ><img src="images/newadd1/chakan.png"><span>cccc</span></p>
</div>
</td></tr>
</table>
</body>
<style>
td{width:500px;}
div{
text-align:justify !important;
text-align-last:justify !important;
}
p{
display: inline-block;
background: red
}
</style>
</html>

兼容ie9的左中右布局

标签:post   htm   isp   content   不兼容   set   doctype   important   port   

原文地址:https://www.cnblogs.com/beimingbingpo/p/8316153.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!