eg-146:lecture16
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
eg-146:lecture16 [2012/03/19 20:22] – [Case Study: Developing a Positioning Style Sheet] eechris | eg-146:lecture16 [2012/03/19 20:27] – [The HTML5 display-role reset] eechris | ||
---|---|---|---|
Line 533: | Line 533: | ||
* For older browsers, ensures that new elements are set as blocks | * For older browsers, ensures that new elements are set as blocks | ||
* For IE browsers, we also need a JavaScript HTML5 fix (see the HTML5) | * For IE browsers, we also need a JavaScript HTML5 fix (see the HTML5) | ||
+ | * [[http:// | ||
- | Changing the Background | + | ---- |
+ | |||
+ | <code css> | ||
+ | charset " | ||
+ | |||
+ | /* Style new " | ||
+ | article, aside, figcaption, figure, footer, header, hgroup, menu, nav, section { | ||
+ | display: block; | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | ===== Changing the Background | ||
To use a background image: | To use a background image: | ||
- | #wrap { | + | #background-image |
background-image: | background-image: | ||
background-position: | background-position: |
eg-146/lecture16.txt · Last modified: 2012/03/19 21:30 by eechris