首頁  >  文章  >  web前端  >  和ie6的深仇大恨_html/css_WEB-ITnose

和ie6的深仇大恨_html/css_WEB-ITnose

WBOY
WBOY原創
2016-06-24 12:16:531142瀏覽

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

 


            

                

                    关于我们

                

                    
                

            

            

                

                    

                        首页

                    

                        和ie6的深仇大恨_html/css_WEB-ITnose

                    

                        关于我们

                    

                        和ie6的深仇大恨_html/css_WEB-ITnose

                    

                        公司简介

                

                

                    

                       右侧
                    

                

            

        


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置之不理,只要不影响操作,难看就难看点吧

陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn