1 Dreamweaver Tutorial In CS3 in several CSS layout rules Wed Dec 04, 2013 5:17 pm
Admin
Admin
Although we suggest that you do not have Dreamweaver be visually edit CSS page layout , but many of my friends are still in use. You can use DW build code editor to write the CSS code . Today we introduce Web design in Dreamweaver CS3 CSS layout rules .
Links manner CSS file
· Additional Links : External CSS file
· Import CSS: When applying multiple CSS files used , multiple CSS import a CSS file
There are three CSS Rule Definition
· Categories such as ". RedText", ". BlueText" and ". BigText" etc.
· Label for re- doing the original HTML tags CSS definitions
· Advanced pseudo-class , defines the elements ID , as well as a comprehensive definition of
CSS rules apply
· Only "class" style only needs to be applied , class = "xxxx". Any element can be applied to classes.
· The difference between class and id
· Label Application general for "body" tag -time use, such as in the page for repetitive relatively large label "li", "td" and so is not recommended definitions.
· Advanced multi- use , defined "# id li" than the definition of "li" is much better.
CSS rule execution order
· CSS code execution in accordance with the order
If there are duplicate rules defined in accordance with the execution of
· The final rule is integrated more defined rules
Highlights: Senior rule definition
· Text styles for different forms of definition. ( Different forms using different ID, use the class style definitions )
· Multiple hyperlink styles defined in a page
· CSS multiple different objects the same rules of common definitions
• For a variety of ways to the same object CSS definitions to consider which is more scientific ( scalability and code compactness )]
Links manner CSS file
· Additional Links : External CSS file
· Import CSS: When applying multiple CSS files used , multiple CSS import a CSS file
There are three CSS Rule Definition
· Categories such as ". RedText", ". BlueText" and ". BigText" etc.
· Label for re- doing the original HTML tags CSS definitions
· Advanced pseudo-class , defines the elements ID , as well as a comprehensive definition of
CSS rules apply
· Only "class" style only needs to be applied , class = "xxxx". Any element can be applied to classes.
· The difference between class and id
· Label Application general for "body" tag -time use, such as in the page for repetitive relatively large label "li", "td" and so is not recommended definitions.
· Advanced multi- use , defined "# id li" than the definition of "li" is much better.
CSS rule execution order
· CSS code execution in accordance with the order
If there are duplicate rules defined in accordance with the execution of
· The final rule is integrated more defined rules
Highlights: Senior rule definition
· Text styles for different forms of definition. ( Different forms using different ID, use the class style definitions )
· Multiple hyperlink styles defined in a page
· CSS multiple different objects the same rules of common definitions
• For a variety of ways to the same object CSS definitions to consider which is more scientific ( scalability and code compactness )]