Summary
I went to 178.com yesterday to take a written test. I only had one question for CSS. I wanted to write CSS. I had to show different results in IE6, IE7, and FF browsers, I didn't expect it to be a multiple-choice question, and I used a sub-selector. This syntax is seldom seen, so I didn't pay much attention to it at ordinary times. I didn't expect it to happen at this time. Well, now, back to the Internet, simply review all the css hack method
Li label Float: left is a good choice for some tags in the webpage sidebar. However, there may be a small problem with Chinese character line breaks. Let's take a look at IE7 and IE8 first: IE7 looks really bad, however, IE7 does not work in standard browsers. First, check the CSS code.
Li label Float: left is a good choice for some tags in the webpage sidebar. H
IE8 compatibility issues, this best deal, converted into IE7 compatible can be. Add the following piece of code to the head, and then as long as it is compatible under IE7, IE8 below is also compatible:The CSS hack to distinguish different browsers:Difference between IE6 and FF:Background:orange;*background:blue;Difference between IE6 and IE7:Background:green!imp
First of all, we introduce the principle of hack, that is, different browsers to identify different charactersCommon special character recognition tables in CSS:(1) *: IE6+IE7 can recognize *, and standard browser FF+IE8 is not recognized *;(2)!important: Except IE6 can not recognize!important, FF+IE8+IE7 can identify!important;(3) _: In addition to IE6 support _, Ff+ie8+
This article attempts to provide a detailed, easy-to-use reference for different developers who want to learn about CSS's support for IE6, IE7, and IE8. This reference contains an overview and compatibility of the following situations:
one support in three browsers while the other two unsupported entries
two support in three browsers and another unsupported entry
This article does not discuss:
Three browsers do not support
It is opaque in this case;
But
Or
The IE7 is transparent:
According to the results, as long as the width set, IE7 under the opacity to work, do not know why, so some large web site transparency effect is to use transparent PNG picture to achieve it.
This article briefly describes the differences between CSS + DIV in IE6 and IE7. The width of IE7 is wider than that in IE6. This is the reason why the webpage may have overflow problems, fortunately, you can change the value or change the percentage.
Difference between CSS + DIV in IE6 and IE7
1. IE7, IE6div + css hav
When IE7 Beta1 was launched, I tested it in the first time. It was a disappointment that the support for CSS was almost unchanged. MS has recently launched the IE7 Beta2, this time with a lot of new improvements and changes. However, these improvements and changes will cause some original normal page layout errors or the original hack skills can no longer be used. MSDN at the beginning of the year at the ti
(Experience) Div + CSS solves IE6, IE7, IE8, and FF compatibility problemsLet me talk about it. After nearly a year of Div + CSS, we have accumulated many methods to solve compatibility problems. Here I only talk about the mainstream ones (IE6, IE7, IE8, ff) others have not been studied.1. For compatibility issues in IE8, it is best to solve this problem by converting it to
CSS compatibility with various browsers is already a common issue, and tutorials on the Internet are everywhere. The following content is not too novel. It is a personal summary and I hope it will be helpful for beginners.
I. CSS hack
Hack concept:Different browsers, such as Internet Explorer 6, Internet Explorer 7, and Mozilla Firefox, have different understandings of CSS parsing, which leads to different page effects, we cannot get the page effect we need. At this time, we need to write
It is often used for website creation. It is also important to measure the average usage of a div + CSS architect. Different browsers use CSS hack: Difference between IE6 and FF:Background: orange; * Background: blue; Difference between IE6 and IE7:Background: Green! Important; Background: blue; Difference between IE7 and FF:Background: orange; * Background: green; Difference ff,
The content of CSS hack comes from: 1. Basic explanation
What is CSS hack?Different browsers, such as Internet Explorer 6, Internet Explorer 7, and Mozilla Firefox, have different understandings of CSS parsing, which leads to different page effects, we cannot get the page effect we need.At this time, we need to write different CSS for different browsers so that they can be compatible with different browsers at the same time, so that we can get the desired page effect in different browsers.This
Turn off the IE7 tab function. Although IE7 focus on promoting the function of multiple page tags, but also so many users are echocardiography function. But the function is too bad far less than FF and Maxthon, installed on the IE7 Pro plug-in has been strengthened, but still very uncomfortable, so also the IE7 Pro Plu
On the CSS for each browser compatibility has been a cliché, the network of tutorials everywhere. The following content is not too novel, purely personal summary, I hope to have some help for beginners.
First, CSS HACK
The following two methods can solve almost all hack today.
1,!important
With the support of IE7 to!important, the!important method is now targeted only at IE6 hack. (Note the wording. Remember that the claim position needs to be adva
When IE7 Beta1 launched, I tested it at the first time. It was a disappointment that there was little change in its support for CSS. MS has recently launched the IE7 Beta2, and this time there have been a lot of new improvements and changes. But these improvements and changes can lead to some of the original normal Web page layout errors or the original use of hack techniques are no longer available. MSDN l
Different browsers, such as Internet Explorer 6, Internet Explorer 7, and Mozilla Firefox, have different understandings of CSS parsing, which leads to different page effects, we cannot get the page effect we need.
At this time, we need to write different CSS for different browsers so that they can be compatible with different browsers at the same time, so that we can get the desired page effect in different browsers.
This process of writing different CSS codes for different browsers is called
After the large-scale earthquake and other natural disasters, the major sites have become gray to mourn the loss of life, then the whole station of the effect of the ash is how to do?Rewrite a set of CSS? NO, even if you have this time to rewrite, what about the pictures in the site? Do you redo it again? It is obvious that the workload is not realistic.Firefox and Chrome are easier to use with CSS3:For the Ie7-ie9 browser, you can add a style to the
Because of all the evil IE6 and IE7, we have to make various bug fixes and differences in page reconstruction. The effect that can be achieved in the standard browser in IE, there are a variety of bizarre problems, such as IE6, IE7 can not respond well to the inline-block and. Clearfix problem, fortunately, most of the problems have been enough to summarize and approach. Not much nonsense to say, here are s
Difference between IE6, IE7 and firefox in DIV Support
1. css style for firefox ie6 ie7
Most of them are used now! Important comes to hack. It can be displayed normally for ie6 and firefox tests, but ie7 is correct! Important can be correctly explained, and the page will not be displayed as required! If you find a good hack Method for
One rowCodeThis solution solves various Internet Explorer compatibility issues. In website development, Internet Explorer 6, Internet Explorer 7, Internet Explorer 8, Internet Explorer 9, and Internet Explorer 10 may not suffer from compatibility issues, in fact, Internet Explorer provides a solution. Google also provides a solution. Baidu also applies this solution to solve ie compatibility problems.Source codeAs follows One line of code solves various ie compatibility issues, including IE6,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.