Inline) 1. width, height, and. Verflow does not work on inline elements because they are always consistent with the width and height of the content.2. Valid values: margin-top and margin-bottom.Margin-left, margin-right is invalid.3. Line-Height:
Use firebug to paste the following line into the page you want to check. If the htmlCodeThe unrecommended labels or attributes are highlighted, and the levels are red, orange, and yellow.Here is a simple and easy-to-use
Cross accuracy cursor: crosshair;
Cursor: pointer;
Cursor: hand;
Write two to take care of ie5. it only recognizes hand.
Wait/hourglass cursor: Wait;
Help cursor: help;
Unable to release cursor: no-drop;
Text/edit cursor: text;
Movable
When we are working on a project, we usually use a large number of master pages. The benefits of using a master page are obvious, but when we nest a master page in the content page, we also need to call CSS styles and JavaScript Functions on the
Using abbreviations can help reduce the size of your CSS file and make it easier to read. The main rules for CSS abbreviations are as follows: Color
The hexadecimal color value. If the two values are the same, they can be abbreviated to half. For
Four property values of position: 1. Relative2. Absolute3. Fixed4. Static 1. Relative) 1. Positioning Reference position: the position in the Document Stream corresponding to the block.2. Location offset: Set the left and top attributes. Note: 1.
Original article: http://blog.csdn.net/huang_xw/article/details/7300201
Experiment 2 first block area second block area third block area fourth block area
The effect is as follows:
In IE6 and 7, as long as the DIV height is not set, the height can be adaptive, and the background color or background image can be automatically extended.But there is a problem in IE8 or Firefox! The background color or background image cannot be
Cross accuracy cursor: crosshair;
Cursor: pointer;
Cursor: hand;
Write two to take care of ie5. it only recognizes hand.
Wait/hourglass cursor: Wait;
Help cursor: help;
Unable to release cursor: no-drop;
Text/edit cursor: text;
Movable object cursor:
According.html
simple folding panel learning CSS is funny an anchor tag can be used inside A collapsible panel tab so that the key board focus ring appears * Inside * the tab instead of around the tab. this is an example of how to
CSS zen garden no style layout CSS zen garden the beauty of CSS Design a demonstration of what can be accomplished visually through CSS -based design. select any style sheet from the list to load it into this page.
According to the analysis on the Google Analytics interface, I personally think it is good. Although the elements are a little more complex, and the appearance is not so beautiful, you can set the width and height of the rounded rectangle at will,
Vertical center is a piece of cake for tables. You only need to specify the cell as vertical-align: Middle,But this does not work in CSS layout. Suppose you set the height of a navigation menu to 2em,Then, specify the vertical alignment rules in CSS,
7. Filter
CSS provides some built-in multimedia filter effects, which can be used to add visual filters and conversion effects to a standard HTML element, examples, text containers, and other objects. Dreamweaver4 provides 16 filters to choose from,
Address: http://www.blogjava.net/qchong/archive/2010/02/24/313759.html
1. Differences between IE and non-ie browsers
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--># Tip
{
Background
:
Blue
;
/*
CSS is short for "Cascading Style Sheets. HTML allows us to use CSS for style display. For example, we can use the label to make the page font bold. For example:
webpage teaching network bold font display
If you want to display the font in red, ,
The incompatibility of browsers must be terrible. We often just fix it, but forget the more important thing, that is, tracing the root cause to avoid the occurrence of similar incompatibility. I will summarize the following HTML encoding elements:1.
Filter: alpha (opacity = 50); opacity: 0.5;Opacity: relative to IE. Firefox does not seem to support it. Value: percentage, 100 indicates the opacity is 100%, and 50 indicates the opacity is 50%.-Moz-opacity: relative to FF, Firefox. Value: decimal
Document directory
Difference between the partial score attribute selector and the point class name Recording Method
Substring matching attribute Selector
Conversion from:
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