I feel like a picture, so I put it here:
Pre {font-family:; width: 420px; Border: 3px solid red;/* for IE */filter: progid: DXImageTransform. microsoft. matrix (sizingmethod = "auto expand", M11 = 1, M12 =-0.4, m21 = 0.4, m22 = 1);/* For Firefox */-
Today, I saw a blog post on Google Reader. After I asked several colleagues in the group, I found that I had always had a misunderstanding about CSS selector. It is said that foreignersArticleI mentioned very early that CSS selector is a
Only when I read a book today can I find that the XML file can be explicitly displayed in IE Based on the CSS file.
For example, the content of the books. xml file is as follows:
. net using 1861-12991-04-0 yzx zqh The content of the books.css
Some people often encounter CSS failures in ASP. NET 2.0 (ASP. NET 1.x may be valid). The main causes and solutions are listed as follows:
1. the CSS file path is incorrect.This problem is a basic problem in Web development. Generally, this
Inline style, such as ... ;Id selectors, for example, # myid;Class, attribute selector, pseudo class (classes, attributes and pseudo-classes), such as. Class {...}, [href $ = dudo.org],: hover;Type (elements), pseudo-type selector (pseudo-elements),
Many strange problems may occur during CSS webpage layout. These problems may be browser bugs, or we may not know enough about CSS attributes. Although 52css.com introduces a lot of knowledge, but if you do more coding, you have mastered the
(XHTML 1.0 transitional) There is a layer contain as the content container, layer left is the left navigation of the page, and layer right is the right content. To define the minimum contain height as 600px, the height is automatically increased if
Precautions for CSS
1 Annotations cannot be nested, or problems may occur.
2. If you can set the height, you must set the height.
3 In addition, it is best to add: To avoid browser differences
1. You can cut the image into four or two. For example
2.Code
Html
Div Class = "Box" > Div Class = "Outer" > Div Class = "Inner" > H2 > Headlines H2 > P > Content,
Do you know what CSS reset is? In general, it is also written as reset CSS, that is, resetting the style of the browser. In various browsers, some default values are used for CSS selectors. For example, if H1 is not set, a certain size is displayed.
ArticleDirectory
I. CSS selector hack
Ii. CSS attribute hack
Iii. ie comments
Iv. browser Detection: JS/backend program judgment
5. Personal Recommendation writing
6. A comprehensive list of IE6 +/Firefox/WebKit/opera CSS
Although it is not very nice to find one, it is complicated to set up: color shading-emphasize the text color 6
Results In word:
[Style analysis ]:
In word, you can set the table format, mainly to set the border and shading. You can
Problems:
Div uses float: Left of the style. When a div containing "style: float" is nested in this Div, the following problem occurs:
There are only a small part of the two images in the border.
Solution:
Set the height attribute of the
Document directory
Difference between different browsers, CSS hack writing:
Difference between different browsers, CSS hack writing:
Difference between IE6 and FF: Background: orange; * Background: blue;
Difference between IE6 and IE7: Background:
I have collected some CSS templates to download websites.
Share it with you now
The first is openwebdesign.
This website provides a large number of free CSS templates that meet the standards.
When building a blog, I often find some favorite
It is easy to use table layout to vertically center text and images. But in Div layout, it is not easy to vertically center content in a fixed height container.
In the DOM Standard
In IE
Comprehensive
Code highlighting produced by Actipro
I always thought that the center alignment of UL Li has been mastered. However, during the recent project, it was found that the float: Left method of Li had a problem, that is, it could not be centered (horizontally ), you can only use the
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