@@ -237,7 +237,7 @@ IMG:before {content: attr(alt)}
237237
238238<P>Authors should put <span class="propinst-content">'content'</span>
239239declarations in <span class="index-inst" title="@media"><a
240- href="media.html@ at-media-rule">@media</a></span> rules when
240+ href="media.html# at-media-rule">@media</a></span> rules when
241241the content requires media consideration. For instance, literal
242242text may be used for any media group, but images only
243243apply to the visual, bitmap media groups, and sound files only
@@ -496,13 +496,13 @@ counter is assumed to have been reset to 0 by the root element.
496496
497497<pre>
498498H1:before {
499- content: "Chapter " counter(chapter) ". "
499+ content: "Chapter " counter(chapter) ". ";
500500 counter-increment: chapter; /* Add 1 to chapter */
501501 counter-reset: section; /* Set section to 0 */
502502}
503503H2:before {
504- content: counter(chapter) "." counter(section) " "
505- counter-increment: section
504+ content: counter(chapter) "." counter(section) " ";
505+ counter-increment: section;
506506}
507507</pre>
508508</div>
@@ -570,7 +570,7 @@ counters. (We assume the style sheet as given in the example above).
570570 <LI>item <!-- increment item[1] (= 3) -->
571571 <OL> <!-- (set item[2] to 0 -->
572572 <LI>item <!-- increment item[2] (= 1) -->
573- </OL> <!-- )
573+ </OL> <!-- ) -->
574574 <OL> <!-- (set item[3] to 0 -->
575575 <LI> <!-- increment item[3] (= 1) -->
576576 </OL> <!-- ) -->
@@ -724,8 +724,7 @@ has the value 'marker' for content generated by an element with
724724'display: list-item', a marker box generated for ':before' replaces
725725the normal list item marker.
726726
727- <div class="example"><P>
728- The following example illustrates how markers may
727+ <P>The following example illustrates how markers may
729728be used to add periods after each numbered list item.
730729This HTML program and style sheet:</p>
731730
@@ -757,10 +756,8 @@ This HTML program and style sheet:</p>
757756 ii. This is the second item.
758757 iii. This is the third item.
759758</PRE>
760- </div>
761759
762- <div class="example"><P>
763- This example shows a different horizontal
760+ <P>This next example shows a different horizontal
764761alignment: the content is centered within a
765762box of a fixed width. This document:</p>
766763
@@ -796,10 +793,9 @@ box of a fixed width. This document:</p>
796793 (3) This is the
797794 third item.
798795</PRE>
799- </div>
800796
801- <div class="example"><P>
802- The next example creates markers before and after
797+
798+ <P> The next example creates markers before and after
803799list items. This document:</p>
804800
805801<PRE class="html-example">
@@ -835,10 +831,8 @@ smiley gif images here):</p>
835831 :-) second list
836832 item comes second :-(
837833</PRE>
838- </div>
839834
840- <div class="example"><P>
841- The next example uses markers to number notes (paragraphs).
835+ <P>The next example uses markers to number notes (paragraphs).
842836The following document:</p>
843837
844838<pre class="html-example">
@@ -877,7 +871,6 @@ The following document:</p>
877871
878872 This is the end.
879873</PRE>
880- </div>
881874
882875<!-- #include src=properties/marker-offset.srb -->
883876
0 commit comments