所有浏览器都试过了,只有ie6这个狗日的会变形,大家帮帮忙吧,本来右面是一个页面,现在这个页面到了另外一行
html:
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置之不理,只要不影响操作,难看就难看点吧

The article discusses the HTML <datalist> element, which enhances forms by providing autocomplete suggestions, improving user experience and reducing errors.Character count: 159

The article discusses using HTML5 form validation attributes like required, pattern, min, max, and length limits to validate user input directly in the browser.

The article discusses the <iframe> tag's purpose in embedding external content into webpages, its common uses, security risks, and alternatives like object tags and APIs.

The article discusses the HTML <progress> element, its purpose, styling, and differences from the <meter> element. The main focus is on using <progress> for task completion and <meter> for stati

The article discusses the HTML <meter> element, used for displaying scalar or fractional values within a range, and its common applications in web development. It differentiates <meter> from <progress> and ex

Article discusses best practices for ensuring HTML5 cross-browser compatibility, focusing on feature detection, progressive enhancement, and testing methods.

The article discusses the viewport meta tag, essential for responsive web design on mobile devices. It explains how proper use ensures optimal content scaling and user interaction, while misuse can lead to design and accessibility issues.

This article explains the HTML5 <time> element for semantic date/time representation. It emphasizes the importance of the datetime attribute for machine readability (ISO 8601 format) alongside human-readable text, boosting accessibilit


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

SublimeText3 English version
Recommended: Win version, supports code prompts!

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft
