eg-146:lecture15
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
eg-146:lecture15 [2012/03/15 20:18] – [A Catalogue of style selectors] eechris | eg-146:lecture15 [2012/03/19 08:15] (current) – [Answers] eechris | ||
---|---|---|---|
Line 1: | Line 1: | ||
~~SLIDESHOW~~ | ~~SLIDESHOW~~ | ||
- | ====== Introduction to CSS ====== | + | ====== Introduction to Cacscading Stylesheets (CSS) |
**Contact Hour 15**: To be discussed on Monday 20th March, 2012. | **Contact Hour 15**: To be discussed on Monday 20th March, 2012. | ||
Line 165: | Line 165: | ||
the one that appears later wins, and thus I am magenta! (4)</ | the one that appears later wins, and thus I am magenta! (4)</ | ||
</ | </ | ||
- | Don't believe me? Try it yourself! | + | Don't believe me? [[http:// |
===== The Cascade: Location ===== | ===== The Cascade: Location ===== | ||
Line 471: | Line 471: | ||
To illustrate the various style selectors, and how the work, | To illustrate the various style selectors, and how the work, | ||
- | we apply the simple style declaration '' | + | we apply the simple style declaration '' |
Follow the links to [[http:// | Follow the links to [[http:// | ||
to see these examples live. | to see these examples live. | ||
Line 483: | Line 483: | ||
<meta charset=" | <meta charset=" | ||
< | < | ||
- | <link rel=" | + | <link rel=" |
</ | </ | ||
< | < | ||
Line 645: | Line 645: | ||
'' | '' | ||
===== Selecting sibling elements ===== | ===== Selecting sibling elements ===== | ||
- | * This selector chooses only those '' | + | * This selector chooses only those '' |
<code css> | <code css> |
eg-146/lecture15.1331842717.txt.gz · Last modified: 2012/03/15 20:18 by eechris