Home > Web Front-end > HTML Tutorial > 火狐与360的margin效果_html/css_WEB-ITnose

火狐与360的margin效果_html/css_WEB-ITnose

WBOY
Release: 2016-06-21 09:33:52
Original
1023 people have browsed it

<style type="text/css">.div_sup{    display: inline-block;    height: 40px;    margin: 20px auto 10px;    width: 100%;    }</style><div class="div_sup"></div>
Copy after login




这个样式在火狐下能显示正常,在360浏览器上(IE6内核)却没有margin的效果。 如何处理?


回复讨论(解决方案)

测试了,火狐跟ie6的效果一样!

我这边是这样,在火狐上能正常起到间距的效果, 而在360浏览器下却是DIV和DIV之间紧贴着,也就是说没有起到间距margin的效果。

光看这段没问题,楼主把代码贴完

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template