[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Please Review: CSS Media
From:       Vadim Plessky <lucy-ples () mtu-net ! ru>
Date:       2001-10-30 3:05:18
[Download RAW message or body]

On Monday 29 October 2001 20:35, Martijn Klingens wrote:
|   On Monday 29 October 2001 19:55, Warren Turkal wrote:
|   > Please also have page numbers printed on each page. Maybe also have
|   > page numbers at the contents that point to the right page number in the
|   > manual.
|
|   I don't think CSS can do that :-)

What about generated content in CSS2?
I am not sure if it can be used for page numbers. But if it works for list 
items numbering, probbaly it can be extended for pages as well.

Example (for list numbering)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 <HTML>
    <HEAD>
      <TITLE>Marker example 5</TITLE>
      <STYLE type="text/css">
           P { margin-left: 8em } /* Make space for counters */
           LI:before {
               display: marker;
               marker-offset: 3em;
               content: counter(mycounter, lower-roman) ".";
               counter-increment: mycounter;
           }
      </STYLE>
   </HEAD>
   <BODY>
<!-- should produce something like this:

        This is a long preceding
        paragraph ...

   i.   This is the first item.
  ii.   This is the second item.
 iii.   This is the third item.

        This is a long following
        paragraph ...
-->
     <P> This is a long preceding paragraph ...
     <OL>
       <LI> This is the first item.
       <LI> This is the second item.
       <LI> This is the third item.
     </OL>
     <P> This is a long following paragraph ...
   </BODY>
 </HTML>
 

|
|   Martijn


-- 

Vadim Plessky
http://kde2.newmail.ru  (English)
33 Window Decorations and 6 Widget Styles for KDE
http://kde2.newmail.ru/kde_themes.html
KDE mini-Themes
http://kde2.newmail.ru/themes/
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic