CSS has a high value for the compatibility of browsers. In general, there is a great difference between IE and Firefox. Here we will introduce the compatibility points.
FAQs:
1. doctype affects CSS Processing
2. FF: When Div sets margin-left
ArticleDirectory
Remarks
Google today released the HTML/CSS code Style Guide (Google html/CSS style guide). In fact, this is not a complete set of development specifications. We can think of it as a simple development suggestion.
Click here to download the book ppt (in PowerPoint 2007 format)
Click here to download the source code of this book
Address: http://learning.artech.cn/20070430.css-reserch-content-table.html
Welcome to the cutting-edge video classroom. The
. Box {/* vertical center method recognized by mainstream non-ie browsers */display: Table-cell; Vertical-align: middle;/* set horizontal center */Text-align: center;/* hack */* display: Block for IE; * font-size: 175px;/* Approximately 0.873 of the
Use Div +
CSSIt may take some time to write the website structure. In this process, we find that we need to set the font to a ratio of 12px, the font size is smaller than 14px (13px cannot be distinguished from 12px in IE ). Today we found that
Summary:This article mainly describes the nature, usage, difference, and relationship between relative positioning and absolute positioning in XHTML. You can also use the Left, Right, Top, Bottom attributes (offset attribute), and Margin attributes (
Updated to version 0.11
Fixed the problem of poor quality of GIF images in the 0.1 version.
With the latest source file, the executable file. Thank you for your feedback. (To use this tool, you must install Microsoft's dot net framework 2.0)
-----
YAML, one of CSS frameworks
We are familiar with js frameworks, such as prototype and jQuery. In fact, XHTML + CSS also has a framework. The most famous one is YUI, which is developed by the yahoo development team. But it is a little large and
AzimuthBackground-attachment -- move the background image along the scroll axisBackground-color -- background colorBackground-image -- background imageBackground-Position -- the position of the background imageBackground-repeat -- display method of
[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
Before summing up floating and positioning, we should introduce the concept thatHTMLMediumDocument StreamThe simple understanding of the document stream is that the elements in the HTML are arranged from left to right in the order of code, from top
In HTML, there are four methods to introduce CSS: inline, embedded, imported, and linked.1. inline style: Set the CSS style in the marked style attribute. This method does not reflect the advantages of CSS in nature, so it is not recommended.2.
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:
I checked google's html and css code specifications and made a simple record.
1. Omit the http: Or https: part of ur addressWhen referencing style sheet files, script files, images, and other media files, you can do this unless you cannot obtain
I made a navigation bar yesterday. In order to save code, the CSS attribute uses a Line-height. The result is that every time I click the navigation bar, the mouse is over and it is terrible. An eye-catching dotted box does not include images or
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 )-
CSS design thorough research section 5.1
Attribute
Description
Remarks
Font-family
Font
Multiple fonts can be declared at the same time, and the fonts are separated by commas. Example: font-family: Arial, "Times New
In HTML, we usually use the link element to introduce an external style sheet. link has the following attributes:
1. rel, indicating "relation". Here, the link (I .e., the rel value) is "stylesheet ";
2. type: always set to "text/css", which
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