Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
css1 [2009-09-03 10:11]
Joakim Forsgren
css1 [2009-09-03 10:17]
Joakim Forsgren
Line 91: Line 91:
 -------------------------------------------------------------------------------- --------------------------------------------------------------------------------
 </code> </code>
- 
 === Multiple Styles Will Cascade into One === === Multiple Styles Will Cascade into One ===
   - Browser default    - Browser default 
-  - External style sheet +  - External style sheet, in read order
   - Internal style sheet (in the head section)    - Internal style sheet (in the head section) 
   - Inline style (inside an HTML element)    - Inline style (inside an HTML element) 
 So, an inline style (inside an HTML element) has the highest priority, which means that it will override a style defined inside the <head> tag, or in an external style sheet, or in a browser (a default value). So, an inline style (inside an HTML element) has the highest priority, which means that it will override a style defined inside the <head> tag, or in an external style sheet, or in a browser (a default value).