Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
css1 [2009-09-03 10:11]
Joakim Forsgren
css1 [2009-09-03 10:11]
Joakim Forsgren
Line 85: Line 85:
 font-size:20pt  font-size:20pt 
  
-The color is inherited from the external style sheet and the text-alignment and the font-size is replaced by the internal style sheet.+The color is inherited from the external style sheet and the text-alignment and the font-size is replaced by  
 +the internal style sheet.
  
  
Line 97: Line 98:
   - 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).
- 
-