search
HomeWeb Front-endHTML TutorialThe deep hatred with ie6_html/css_WEB-ITnose

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

 


            

                

                    关于我们

                

                    
                

            

            

                

                    

                        首页

                    

                        The deep hatred with ie6_html/css_WEB-ITnose

                    

                        关于我们

                    

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

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
How to implement multi-project carousel in Bootstrap 4?How to implement multi-project carousel in Bootstrap 4?Apr 30, 2025 pm 03:24 PM

Solution to implement multi-project carousel in Bootstrap4 Implementing multi-project carousel in Bootstrap4 is not an easy task. Although Bootstrap...

How does deepseek official website achieve the effect of penetrating mouse scroll event?How does deepseek official website achieve the effect of penetrating mouse scroll event?Apr 30, 2025 pm 03:21 PM

How to achieve the effect of mouse scrolling event penetration? When we browse the web, we often encounter some special interaction designs. For example, on deepseek official website, �...

How to modify the playback control style of HTML videoHow to modify the playback control style of HTML videoApr 30, 2025 pm 03:18 PM

The default playback control style of HTML video cannot be modified directly through CSS. 1. Create custom controls using JavaScript. 2. Beautify these controls through CSS. 3. Consider compatibility, user experience and performance, using libraries such as Video.js or Plyr can simplify the process.

What problems will be caused by using native select on your phone?What problems will be caused by using native select on your phone?Apr 30, 2025 pm 03:15 PM

Potential problems with using native select on mobile phones When developing mobile applications, we often encounter the need for selecting boxes. Normally, developers...

What are the disadvantages of using native select on your phone?What are the disadvantages of using native select on your phone?Apr 30, 2025 pm 03:12 PM

What are the disadvantages of using native select on your phone? When developing applications on mobile devices, it is very important to choose the right UI components. Many developers...

How to optimize collision handling of third-person roaming in a room using Three.js and Octree?How to optimize collision handling of third-person roaming in a room using Three.js and Octree?Apr 30, 2025 pm 03:09 PM

Use Three.js and Octree to optimize collision handling of third-person roaming in the room. Use Octree in Three.js to implement third-person roaming in the room and add collisions...

What problems will you encounter when using native select on your phone?What problems will you encounter when using native select on your phone?Apr 30, 2025 pm 03:06 PM

Issues with native select on mobile phones When developing applications on mobile devices, we often encounter scenarios where users need to make choices. Although native sel...

Why can some websites achieve mouse scrolling and penetration effect, while others cannot?Why can some websites achieve mouse scrolling and penetration effect, while others cannot?Apr 30, 2025 pm 03:03 PM

Exploring the implementation principle of mouse scrolling events When browsing some websites, you may notice that some page elements still allow scrolling the entire page when the mouse is hovering...

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools