Home  >  Article  >  Web Front-end  >  The deep hatred with ie6_html/css_WEB-ITnose

The deep hatred with ie6_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:16:531197browse

所有浏览器都试过了,只有ie6这个狗日的会变形,大家帮帮忙吧,本来右面是一个页面,现在这个页面到了另外一行
html:

 203feb5318b634931a964f027fd37183
            8afdc86bd5ef3ef59c0fc7893fbd5478
                7271a0993c7a5a6e3cfbf01929791678
                    关于我们16b28748ea4df4d9c2150843fecfba68
                1b6224c55d1ee789751acdd45655e79a
                    ff6d136ddc5fdfeffaf53ff6ee95f185
                        cf6b9f6eb82f15e91b61361b15897fbc
                            e8fd20d9fc65460d4d7dd3ba7f88f6c5公司简介5db79b134e9f6b82c0b36e0489ee08edbed06894275b65c1ab86501b08a632eb
                        
                                25edfb22a4f469ecb59f1190150159c6f0021ab80de06c124c0d98b5d723c25c
                                    公司荣誉5db79b134e9f6b82c0b36e0489ee08edbed06894275b65c1ab86501b08a632eb
                            
                                25edfb22a4f469ecb59f1190150159c6355b31e1f19c349d0b8b4f93d70028b5
                                    招贤纳士5db79b134e9f6b82c0b36e0489ee08edbed06894275b65c1ab86501b08a632eb
                            
                    929d1f5ca49e04fdcb27f9465b944689
                16b28748ea4df4d9c2150843fecfba68
            16b28748ea4df4d9c2150843fecfba68
            86d435e123d6cc192bbfd16a92451117
                233db893c293f1667e16efac5b70f893
                    f28c4a9e871312aa96b6468ada8de29e
                        f1b3ba8846c179e65eb68da95b01a812首页5db79b134e9f6b82c0b36e0489ee08ed16b28748ea4df4d9c2150843fecfba68
                    b49da1bfb09edd227d0f0307db4d41c6
                        9387244788eaaa0e8d963581518b355716b28748ea4df4d9c2150843fecfba68
                    f28c4a9e871312aa96b6468ada8de29e
                        f1b3ba8846c179e65eb68da95b01a812关于我们5db79b134e9f6b82c0b36e0489ee08ed16b28748ea4df4d9c2150843fecfba68
                    b49da1bfb09edd227d0f0307db4d41c6
                        9387244788eaaa0e8d963581518b355716b28748ea4df4d9c2150843fecfba68
                    225e741c382f9c53b18f0099aa31fc29
                        公司简介16b28748ea4df4d9c2150843fecfba68
                16b28748ea4df4d9c2150843fecfba68
                3fb51d57c36fd1685ee50b055313e8b1
                    8a906cde08ead0ec7b65391f68bceacf
                       右侧
                    16b28748ea4df4d9c2150843fecfba68
                16b28748ea4df4d9c2150843fecfba68
            16b28748ea4df4d9c2150843fecfba68
        16b28748ea4df4d9c2150843fecfba68

css:

.anr{ float:left; width:1004px; height:auto; margin-top:10px; overflow:visible;}
.anr_left{ float:left; width:234px; height:681px; background:url(../images/leftbg2.jpg) no-repeat;}
.a_bt{ float:left; width:222px; height:30px; color:#ffa42f; padding-top:12px; padding-left:12px; font-weight:600; font-size:14px;}
.a_nr{ width:210px; float:left; height:auto; margin-left:12px; _margin-left:6px;}
.a_nr ul{ width:210px; float:left; height:auto;}
.a_nr ul li{ width:210px; height:23px; margin-top:10px; list-style:none; text-align:center; background:url(../images/leftbg.jpg) no-repeat; padding-top:7px;}
.a_nr a{ text-decoration:none; color:#754a15; }
.a_nr a:hover{ text-decoration:none; color:#9f7114;}
.anr_right{ float:left; width:763px; height:681px; background:url(../images/right1.jpg) no-repeat; margin-left:7px;}
.a_r_title{float:left; width:753px; padding-left:10px; height:25px; color:#271404; padding-top:15px;}
.a_r_title1{float:left; padding-left:5px; padding-right:5px; height:25px; color:#271404;}
.a_r_title2{float:left; padding-left:5px; padding-right:5px; height:23px; color:#271404; padding-top:2px; }
.a_r_title3{float:left; padding-left:5px; padding-right:5px; height:25px; color:#f39c2d;font-weight:600;}
.a_r_title1 a{ text-decoration:none; color:#271404; }
.a_r_title1 a:hover{ text-decoration:none; color:#9f7114;}
.a_r_nr{width:710px; color:#b17221; height:atuo; line-height:22px; margin-left:15px; float:left;}
.a_r_nr1{width:738px; color:#b17221; height:atuo; line-height:22px; margin-left:10px; float:left; margin-top:10px;}
.a_r_nr2{width:738px; color:#b17221; height:atuo; line-height:22px; float:left; margin-top:10px; margin-left:10px; _margin-left:6px;}


回复讨论(解决方案)

.anr_right{ float:left; width:763px; height:681px; background:url(../images/right1.jpg) no-repeat; margin-left:7px; clear:right}

都IE10,楼主,可以不用理会IE6。。。。。
谁都没法做到所有都兼容的,对于低版的,果断叫用户升级或放弃使用

都IE10,楼主,可以不用理会IE6。。。。。
谁都没法做到所有都兼容的,对于低版的,果断叫用户升级或放弃使用 这个用户上来就是ie6,擦、。。。说的我蛋疼啊

CSS code?1.anr_right{ float:left; width:763px; height:681px; background:url(../images/right1.jpg) no-repeat; margin-left:7px; clear:right} 大神。。没管用啊。。依旧下一行

*{margin:0;padding:0;} 把这个 加进css
ie里面的 padding margin 双边距问题

ok,谢谢打架了,莫名其妙的就好了

ok,谢谢打架了,莫名其妙的就好了
如何个莫名其妙法。。。。

我这里测试下是行的。
只有在中国,IE6才算使用率最高的浏览器。。国外都是百分之零点几。。国内都还用WINXP系统啊。。
只要在IE6下测试没问题,一般其他浏览器就OK了。。

我可以理解LZ的痛苦 因?我跟LZ一? 一直被IE6操

对IE6置之不理,只要不影响操作,难看就难看点吧

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