Home > Web Front-end > HTML Tutorial > Why is it displayed normally under IE7, 8, and FF but misaligned under IE6_html/css_WEB-ITnose

Why is it displayed normally under IE7, 8, and FF but misaligned under IE6_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:21:52
Original
873 people have browsed it

Six DIV blocks, three per line, why are they displayed normally under IE7, 8, and FF?
The first line is normal under IE6, but the second line is misaligned, leaving only the rightmost one,
The first two DIVs are squeezed below.

Thank you


Reply to the discussion (solution)

margin:0px; padding:0px;
Copy after login

Do you have margin or padding between your divs? IE6 interprets it differently, for example, margin-left:4px; it may be interpreted as 8px, just use a hack to define it separately,

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