/* Testen einiger CSS2 Konstrukte */ H1:before { counter-reset: para; counter-reset: sect; content: "Kapitel " counter(chap) ". "; counter-increment: chap; } H2:before { content: "Abschnitt " counter(chap) "." counter(sect) ". "; counter-increment: sect; } P:before { content: counter(para) "---"; counter-increment: para; } CODE { white-space: pre; } CODE:after { content: " "; } TABLE.exam { font-size: x-large; background-color: lime; } TABLE.exam TD { text-align: center; color: red; } TABLE.exam CAPTION { caption-side: right; color: blue; } /* Testen einiger CSS1 Konstrukte */ BODY { font-family: Tahoma, Verdana, 'Myriad Web', Syntax, sans-serif; font-size: x-large; color: black; background: white; margin-top: 1.58em; margin-left: 1.58em; margin-right: 1ex; margin-bottom: 1.58em; padding-top: 0; padding-left: 0; padding-right: 0; padding-bottom: 0; border-top: 0; border-left: 0; border-bottom: 0; border-right: 0; width: auto; } P.wichtig { background-color: yellow; color: red; } P.hinweis { background-color: silver; color: maroon; font-style: italic; } P.zentriert { text-align: center; } P.rechts { text-align: right; }