2012年7月26日 星期四

Basic CSS Concept

Three ways to insert CSS:

1. External style sheet
2. Internal style sheet
3. Inline style


Multiple style sheets:

If some properties have been set for the same selector in different style sheets,
the values will be inherited from the more specific style sheet.

Cascading order:

1. Browser default
2. External style sheet
3. Internal style sheet (in the head section)
4. Inline style (inside an HTML element)

Reference: http://www.w3schools.com/css/css_howto.asp

沒有留言:

張貼留言