Skip to content

Commit f93d81e

Browse files
committed
revised example
1 parent 55ef846 commit f93d81e

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

css3-gcpm/Overview.src.html

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -296,15 +296,18 @@ <h4>Setting named strings: the 'string-set' property</h4>
296296
<li>env(date-time): returns the date and time on the user's system at the time of formatting
297297
</ul>
298298

299-
<p class=note>Information about date and time is formatted according to the locale of the user. Implementors can get access to preformatted strings by way of the <a href="http://www.opengroup.org/onlinepubs/009695399/functions/strftime.html">strftime</a> function. The date, time and date-time strings can be found by using the "%x", "%X" and "%c" conversion strings, respectively.
299+
<p>Information about date and time is formatted according to the locale of the user.
300+
301+
<p class=note>On many systems, preformatted strings in the user's locale can be found through the <a href="http://www.opengroup.org/onlinepubs/009695399/functions/strftime.html">strftime</a> function. The date, time and date-time strings can be found by using the "%x", "%X" and "%c" conversion strings, respectively.
300302

301303
<div class=example>
302304

303305
<pre>
304-
string-set: url env(url);
305-
string-set: date env(date);
306-
string-set: date env(time);
307-
string-set: date env(date-time);
306+
@page {
307+
margin: 10%;
308+
@top-right { content: env(url) }
309+
@bottom-right { content: env(date-time) }
310+
}
308311
</pre>
309312

310313
</div>

0 commit comments

Comments
 (0)