css_content.html 767 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15">
  5. <style>
  6. p {
  7. border: 1px dotted grey;
  8. }
  9. p.image:before {
  10. content: url(images/html.png);
  11. }
  12. p.image:after {
  13. content: url(images/pdf.png);
  14. }
  15. p.counter {
  16. page-break-after: always;
  17. }
  18. p.counter:before {
  19. content: "Page number " counter(page, upper-roman);
  20. }
  21. body:after {
  22. content: "The End";
  23. display: block;
  24. margin-top: 2em;
  25. text-align: center;
  26. }
  27. </style>
  28. </head>
  29. <body>
  30. Look at the HTML source !
  31. <p><q>quote &lt;q&gt;</q></p>
  32. <p class="image"> to </p>
  33. <p class="counter"></p>
  34. <p class="counter"></p>
  35. <p class="counter"></p>
  36. </body>
  37. </html>