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; * bac it talent Network (http://it.
Summary table:
Printing PropertiesAttribute
CSS versionVersion
CompatibilityCompatibility
Inherit from parentInheritance
DescriptionIntroduction
Page
Css2
Ie5.5 +
Yes
The page type used to retrieve or
Browsers have different sizes on different devices, and even on the same device, users will change the browser size. We hope the layout can better adapt to the Browser display area size, CSS device adaptation can be used for testing on ie10.
First,
Recently, when using the bordercolorlight/bordercolordar attribute of table, idea always prompts that my attribute is invalid and it is uncomfortable. No way. We recommend that you stop using these two attributes even on msdn. However, what if CSS
First, repost a static method.
In the web system, a large number of JavaScript and CSS files are inevitably used, such as open-source JavaScript frameworks prototype, jquery, extjs-core, and so on. These JS frameworks have hundreds of KB, I have
For Internet Explorer, which has an absolute market share, the browser's support for CSS lags behind the development of CSS. for Internet Explorer, the full support for CSS 8th was only just completed in the 2.1 versions released recently, the
Document directory
Vertical center condition of the CSS:
The CSS vertical center method:
Compatibility:
Code:
Using XHTML + CSS to vertically center elements has always been a complicated and tricky problem in front-end development. As a web
Step 1: Create an unordered listWe first create an unordered list to create a menu structure. The code is:
homepage product introduction service Introduction technical support buy now Contact Us
Step 2: Hide the default Li
Code
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->
cell 1
Cell 2
cell 3
cell 4
the effect is as follows:
1. DIV and span markup: in simple terms, it is the markup of a block container. That is, ... is equivalent to a container that can contain html elements such as paragraphs, titles, tables, images, and even chapters, summaries, and remarks. The
[This article is reproduced from: Bible's Blog]
First, I declare that when I published this article, IE7.0 and above currently have four versions: Ie7.0beta1, Ie7.0beta2, Ie7.0beta3, and Ie7.0 RC. These four versions are also compatible with CSS. In
Background: Image-set ()
The image-set in the css4-images specification can achieve Retina screen display, mainly used to solve the design challenges of Apple Retina screen.
In a browser that does not support image-set, it supports
The display: inline-block attribute is often exposed when CSS is used for performance. Whether it's a friend who has been familiar with Web standards or standards for a long time, metropolis is confused and vague about this attribute.
Display:
Before I wrote about some methods to clear floating --- (http://www.cnblogs.com/qiwenke/archive/2012/10/07/2714434.html), recently in the process of learning and read a lot of good articles --- (such as http://www.iyunlu.com/view/css-xhtml/55.html )-
Although I have mentioned the CSS menu creation method on my website and articles, many beginners still do not know how to implement it and how it works, I want to write a detailed tutorial to help you.
Let's take a look at a menu example. The final
Float elements in CSS are floating elements. The positioning of floating elements is based on the normal Document Stream. Then, the floating elements are extracted from the document stream and moved to the left or right as far as possible, here we
When I wrote a page today, after adding a Chinese note to the style sheet, I found that it was invalid under ie6. I found the cause on the Internet and shared it as follows:
Because css encoding and html encoding are inconsistent, the style sheet
Link: http://luinlee.com/405/ie6csschinese/
1. Ultimate method: Condition annotation. The disadvantage is that the Internet Explorer may add additional HTTP requests.Code
Code highlighting produced by Actipro CodeHighlighter
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service