I. Case Sensitive
When CSS is used in XHTML, the element names defined in CSS are case sensitive. To avoid this error, we recommend that all definition names be in lower case.
2. No quotation marks are required for the background image path.To
Browser compatibility-compatibility of the minimum CSS Div height in IE 6 and IE 7
When CSS is used to define the height of a DIV, it can be displayed normally in IE 7. However, in IE 6, the height cannot be defined under 10 PX. This is a bit
For HTML, the content label is only set to , CSS extension specifications for content allow us to set the font in more detail. Font-family: font name 1, font name 3, and font name 3. Display the priority of the font. If this font is installed
ArticleDirectory
1. Basic syntax Specification
2. color value
3. Define the font
4. Group Selector
5. Derivative Selector
6. ID Selector
6. Category Selector
7. Define the link Style
Learn about
I. Use the style attribute
Add the style attribute directly to individual component labels.
For example:The advantage of this usage is that the style can be applied to various labels smartly, but the disadvantage is that there is no "uniformity"
Some people may have found that they can write...
CSSCodePartA.info {Position: relative; Z-index: 0; Background-color: # CCC; color: #000; text-Decoration: None}
A.info: hover {Z-index: 1; Background-color: # ff0}
A.info span {Display: None}
The effect is direct to the DIV + CSS + JS menu of flash.
g1good morningg2good eveningm1my name is fireyym 2mm mm I love ug1good morningg2good eveningm1my name is fireyym 2mm mm I love u
I. Event Description:Many friends encounter this situation when using dw8, for example.
When a CSS file is linked to the currently edited document and a defined CSS style is applied to the page elements, no effect is displayed in dw8.
Ii. Event
CSS Filter
Style attributes:
It can be used in tags and is more widely used in
among other labels,
More importantly, it is available in labels.
Page switching effect:
Add "" between the front and end of the page ""
Note: duration is the
I saw the sharing: the absolute classic pulley news display (JavaScript + CSS) post is a classic control of CSS + Js. In fact, it can be done with a single CSS, just to be compatible with the junk IE, you cannot create a Js,
The following
Code If
Document directory
What is CSS?
CSS settings
3rd CSS
What is CSS?
CSS settings
Style rule Selector
Comment and valid range of style rules
Style attributes
What is the setting method of CSS and CSS?
Author: Loncer more
Function:
1. The image can be scaled, and the outer frame also changes.
2. After the image is scaled, the bottom of the image is aligned.
3. Move the mouse up and the border is dotted.
Structure:
Source code: ========================================
Additional reading
* Interpretation of absolute and relative
* Position: Level of which relative/absolute cannot be broken
* Supplement the article "levels that cannot be broken through"
Positioning has always been a difficult point in WEB standard
CSS Filter Basics
With the development of Web design technology, people are not satisfied with some of the original HTML tags, but want to be able to add some multimedia properties for the page, such as filter and gradient effects.
According to most articles on the internet, you only need to add the following content to CSS:
Code
Table {Table-layout: fixed;Word-break: break-all;Word-wrap: break-word;}Div {Word-break: break-all;Word-wrap: break-word;}
We can solve 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