Home >Web Front-end >HTML Tutorial >IE6 is broken, please give me some advice from experts and wait online. Thank you. _html/css_WEB-ITnose

IE6 is broken, please give me some advice from experts and wait online. Thank you. _html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:11:461064browse

http://www.ey100.com/Goods/Brands.aspx
IE6 is broken, please give me some advice on how to fix it, thank you.


Reply to the discussion (solution)

All categories are listed in a vertical row. I feel that the float of li is not working. The poster checked the dom level. .


See that there is a similar structure in the page:


...




Paragraph p cannot nest other block-level elements.

Can it be solved through css? The code cannot be changed for the time being.

brand.css
.e_BrandWrap .e_Brandtopmenu h2{ float:left; width:auto; white-space:nowrap;}

Delete white-space:nowrap;

Still the same, no solution,

Still the same, no solution,

Well. . It is indeed not caused by the CSS property above. The problem lies in the file encoding of brand.css. You can just save it as UTF8 encoding (the current file encoding is GB2312).

Thank you,

I just deleted white-space:nowrap; and changed the file encoding, so I mistakenly thought it was caused by this CSS style. . I'm still wondering how the style of h2 under .e_Brandtopmenu affects the layout of the sub-elements under e_Brandbmenu. .

Statement:
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