Monday, October 5, 2009

The CSS overall arrangement that Dreamweaver CS3 webpage makes is regular

The link means of CSS file

· add link: Exterior CSS file
· guides CSS: Commonly used applying when many CSS file, guide many CSS in file of a CSS

CSS regulation definition has 3 kinds:

1) analogy if " .RedText " , " .BlueText " and " .BigText " etc
2) label is aimed at the new CSS definition that original HTML label makes
3) advanced bogus kind, the element that defined ID, and omnibus definition

The application of CSS regulation

· has only " kind " the style just needs to apply, class= " Xxxx " . Any elements can apply kind.
The distinction of · Class and Id
· label application is general to " Body " label is one-time use, to such as " Li " , " Td " wait to compare large tag not to recommend a definition in the repeatability in the page.
· is advanced apply more, definition " #id Li " than the definition " Li " be close friends more.

CSS executes order regularly

The · execution according to CSS code early or late ordinal
If · has reduplicative regulation, according to hind executive definition
· final regulation is many definitions regulation is integrated

Key: Advanced regulation is defined

1. The literal style to different form is defined. (different form uses different ID, use kind of style to define)
2. A variety of super link styles in one page are defined
3. The CSS of many identical and regular different objects is defined jointly
4. Which do a variety of CSS way that define to same target consider to plant more scientific (expansibility and code cut a gender)

No comments:

Post a Comment