<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style type="text/css">
div{-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;}
.lef{background:#F00; border:2px solid #000; height:22px; float:left; width:50%;}
.min{background:#0F0; border:2px solid #000; height:22px; float:left; width:30%;}
.rig{background:#00F; border:2px solid #000; height:22px; float:left; width:20%;}
</style>
</head>
<body>
<div style=" width:700px;">
<div class="lef"></div><div class="min"></div><div class="rig"></div>
</div>
</body>
</html>IE6中不能排成一排,IE8中正常排成一排。高手指点!!!
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style type="text/css">
div{-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;}
.lef{background:#F00; border:2px solid #000; height:22px; float:left; width:50%;}
.min{background:#0F0; border:2px solid #000; height:22px; float:left; width:30%;}
.rig{background:#00F; border:2px solid #000; height:22px; float:left; width:20%;}
</style>
</head>
<body>
<div style=" width:700px;">
<div class="lef"></div><div class="min"></div><div class="rig"></div>
</div>
</body>
</html>IE6中不能排成一排,IE8中正常排成一排。高手指点!!!
解决方案 »
- Repeater嵌套,FootTemplate里无法取到ItemTemplate里可以取到的值?
- asp如何控制扫描仪?
- 一个asp页面取倒的时间怎么格式是Wed Jun 25 00:00:00 UTC+0800 2008
- 求一解决方案
- 发布一个WEB服务:天气预报.同时发布其WAP版本.做WAP网站的朋友顶一下
- _____________新闻发布的编辑框,谢谢指点
- 【!!!!求一个简单之极的正则表达式!!!!】
- 哪里有好的新闻发布系统下载啊
- 我想在客户段上传图片,在服务器上动态产生图片,怎么做?在线等!
- 数据库连接这样做会不会有问题?
- 连接未关闭。连接的当前状态为已打开。
- 急!MVCPager问题
而w3c盒模型只算内容宽度