home > 『Web標準の教科書』読者サポートページ > 第3章 第8節
第3章 第8節(p.204-215)
body { color: black }
a.external:link { color: red }
:
:
<a class="external" href="http://www.w3.org/">W3C (World Wide Web
Consortium)</a>
a:link { color: blue }
a:visited { color: purple }
a:hover { color: red }
a:active { color: red }
body { background-color: white }
body {
background-color: white;
background-image: url("./images/bcg.gif");
}
body {
background-color: white;
background-image: url("./images/bcg.gif");
background-repeat: repeat;
}
body {
background-color: white;
background-image: url("./images/bcg.gif");
background-repeat: repeat-y;
background-attachment: fixed;
}
body {
background: white url(paper.png) scroll; /* for all UAs */
background: white url(ledger.png) fixed;
/* for UAs that do fixed backgrounds */
}
body {
background-color: white;
background-image: url("./images/bcg.gif");
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center center;
}
body {
background-color: white;
background-image: url("./images/bcg.gif");
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center center;
}
body { background: white url("./images/bcg.gif") no-repeat fixed
center center }
body { background: white }
body { background: white none repeat scroll 0% 0% }