IE7,8 chrome 展示在一行,IE6展示成两行,需要怎样修改呢
代码是这样的:
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><style>.row p,.row span{ font-size:14px; line-height:22px; color:#5e5e5e; display:block; float:left;}.span7 { width: 400px;}.span9 { width: 520px;}.row > [class*="span"] { display: inline; float: left; margin-left: 20px;}</style></head><body> <div class="row"> <div class="span9"> <h2>云DNS</h2> <p>DNSPod拥有全球最领先的云 DNS 集群技术。6年 DNS 领域专业研究,无数次紧急 DNS 故障处理,让我们更有信心提供最好的服务。</p> </div> <div class="span7"> <img style="margin-left:-20px;" src="https://www.dnspod.cn/yantai/img/content/features/feature1.jpg"> </div> </div> </body></html>