为了账号安全,请及时绑定邮箱和手机立即绑定

习题中使用的这两个属性 不明白overflow:hidden;*zoom:1;

加这两个属性能达到什么样的效果

<style type="text/css">

.mainBox{width:960px;background-color:#CFF;overflow:hidden;*zoom:1;}

.leftBox{width:740px;height:300px;background-color:#C9F;float:left;}

.rightBox{width:210px;height:300px;background-color:#FCF;float:right;}

</style>

</head>

<body>

<div class="mainBox">

    <div class="leftBox"></div>

    <div class="rightBox"></div>

</div>


正在回答

1 回答

举报

0/150
提交
取消

习题中使用的这两个属性 不明白overflow:hidden;*zoom:1;

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信