The problem of empty div occupying space under IE6/7_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:38:44
Original
892 people have browsed it

I haven’t been paying attention to the front-end recently. When I encountered such a problem at work, I subconsciously wrote font-size:0;line-height:0; but I didn’t know it caused a bigger bug. Later, when the data was inserted, it was no longer displayed. . Later, Baidu found out that it turned out that just writing an empty div inside would be enough. The principle is not yet clear, I will do a little research when I have time

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