Home Web Front-end HTML Tutorial [Migration in 2013] Summary of some DIV adaptations under IE6_html/css_WEB-ITnose

[Migration in 2013] Summary of some DIV adaptations under IE6_html/css_WEB-ITnose

Jun 24, 2016 am 11:56 AM
div ie6 migrate adaptation

I just wrote down some things I thought of before. In the development of Xinfeng and Liangwang networks, a complete div layout was used. Due to the requirements of the other party, the application bar on the left must be movable, so it can only be used 3-column method. The government also widely uses IE6. In fact, it is better to use table to do

. This exposes an adaptation problem of div under IE6. The default margin-bottom under IE6 is not 0, but There is a fixed number. If you do not specify the div size and related attributes, and let the div automatically adapt under IE6, it is different from Firefox and IE9. The final solution is to specify the size and related attributes for all divs. In fact, the correct method is It is processed at the beginning of development.

There is another problem in the process, that is, some empty divs or tables left during the website development process will cause abnormal display under IE6. Just remove it. But.

There are also issues regarding the backward rendering engine of IE6, the hierarchy of drop-down selection boxes and divs, and the issue of div x-index attributes. The select control of the form under IE6 seems to be at the highest level. , it is probably related to the rendering method, and there is no solution. Including when it is not clicked, the div will not be on the select control no matter how high you set the x-index. However, IE9 and other browsers do not have this problem. The solution is to use js to write the drop-down menu control. This is also the reason why some large websites use homemade drop-down menus.

There are some that everyone knows, so I won’t repeat them. Just pay attention. In fact, It’s not that you can’t use the complete div layout method to develop a website compatible with IE6. If you are inexperienced, you will make a lot of mistakes. Once you are familiar with it, it may still be possible, but it is a bit troublesome. It is best to use tables. In China.
When will IE6 be launched? Just die

Statement of this Website
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

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

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
Two Point Museum: All Exhibits And Where To Find Them
1 months ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to migrate WeChat chat history to a new phone How to migrate WeChat chat history to a new phone Mar 26, 2024 pm 04:48 PM

1. Open the WeChat app on the old device, click [Me] in the lower right corner, select the [Settings] function, and click [Chat]. 2. Select [Chat History Migration and Backup], click [Migrate], and select the platform to which you want to migrate the device. 3. Click [Select chats to be migrated], click [Select all] in the lower left corner, or select chat records yourself. 4. After selecting, click [Start] in the lower right corner to log in to this WeChat account using the new device. 5. Then scan the QR code to start migrating chat records. Users only need to wait for the migration to complete.

Linux and Docker: How to migrate and synchronize containers across hosts? Linux and Docker: How to migrate and synchronize containers across hosts? Jul 29, 2023 pm 02:52 PM

Linux and Docker: How to migrate and synchronize containers across hosts? Summary: Docker is a popular containerization technology that provides a lightweight virtualization solution. In a multi-host environment, it is a very common requirement to migrate and synchronize containers across hosts. This article will introduce how to use Linux and Docker to implement cross-host migration and synchronization of containers, and provide some sample code for reference. Introduction The rise of containerization technology makes application deployment and migration more flexible and efficient. on multiple hosts

How to fix inappropriate resolution issues How to fix inappropriate resolution issues Jan 08, 2024 pm 03:25 PM

After reinstalling the system, we may not have the resolution we want, and some resolutions may look very uncomfortable. The reason may be that the graphics card driver is not installed or the driver version is out of date. After installing a driver, the problem will appear after opening it. You will be prompted for the drivers you need to install. After all are installed, restart the computer. Generally, it can automatically match the resolution suitable for your monitor. If it still doesn't work, we need to customize one. Let's take a look at the details. There is no suitable solution for the resolution. 1. Install driver life, update all drivers according to the prompts, and then restart the computer; 2. Right-click the computer desktop and select NVIDIA Control Panel to open. If not, click the start menu program in the lower left corner of the computer. 3. Select <Change Resolution>→<Customize>

How to migrate and integrate projects in GitLab How to migrate and integrate projects in GitLab Oct 27, 2023 pm 05:53 PM

How to migrate and integrate projects in GitLab Introduction: In the software development process, project migration and integration is an important task. As a popular code hosting platform, GitLab provides a series of convenient tools and functions to support project migration and integration. This article will introduce the specific steps for project migration and integration in GitLab, and provide some code examples to help readers better understand. 1. Project migration Project migration is to migrate the existing code base from a source code management system to GitLab

How to transfer WeChat chat history to another mobile phone How to transfer WeChat chat history to another mobile phone May 08, 2024 am 11:20 AM

1. On the old device, click "Me" → "Settings" → "Chat" → "Chat History Migration and Backup" → "Migrate". 2. Select the target platform device to be migrated, select the chat records to be migrated, and click "Start". 3. Log in with the same WeChat account on the new device and scan the QR code to start chat record migration.

How to transfer WeChat chat history to another phone How to transfer WeChat chat history to another phone Mar 26, 2024 pm 04:50 PM

By opening WeChat on the old device, selecting &quot;Chat History Migration and Backup&quot; and following the prompts, users can migrate their chat history to the new device. The migration process involves selecting the chats that need to be migrated, scanning the QR code and waiting for the migration to complete.

Cloud Modernization with C++: Migrating Legacy Applications to the Cloud Cloud Modernization with C++: Migrating Legacy Applications to the Cloud Jun 01, 2024 am 09:21 AM

The best way to move legacy C++ applications to the cloud: Re-platform: Move the application code to a cloud-native platform (such as Kubernetes) and leverage cloud services. Cloudization: Deploy applications on cloud platforms and utilize cloud services without code refactoring.

How to perform server migration in Linux system How to perform server migration in Linux system Jun 18, 2023 pm 10:01 PM

In enterprise IT systems, server migration is a regular task, which can help enterprises improve server utilization, meet business needs, update hardware equipment, etc. Although there are certain challenges in server migration in Linux systems, with reasonable planning and implementation, this work can be made simple and efficient. Below, we will introduce some key steps for server migration in Linux systems. Preparation work Before performing server migration, some preparations need to be made on the source server and target server.

See all articles