[nycbug-talk] using css for printed materals

George Georgalis george
Tue Feb 22 11:40:31 EST 2005


Goal, develop documentation model that will easily port to SGML.
Requirements, standard technical report type formatting, outline type
formatting, with lots of tables.

Sounds like standard html (table header, and column identifiers on top
of each table). But there is a catch, the documents will be printed
and on each printed page should appear the table header and column
labels. Is there a css (media=print) tag that will put Table header and
col identifiers on each page, like below?  Any templates for this?

// George


----------------------page break----------------------------

1.2.3 section
 1.2.3.4 section

         Some text....
 +-------+--------------------------------------+----+----+
 |                   Table header                         |
 +-------+--------------------------------------+----+----+
 |col1   |col2                             col3 |col4|col5|
 +-------+--------------------------------------+----+----+
 |yack   |yack yack yack                        |:)  |:(  |
 |       |                                      |    |    |
 +-------+--------------------------------------+----+----+
 |yack   |yack yack yack                        |aa  |    |
 |       |yack yack                             |bb  |    |
 |       |                                      |    |    |
 |       |                                      |    |    |
 +-------+--------------------------------------+----+----+

----------------------page break----------------------------

 +-------+--------------------------------------+----+----+
 |                   Table header                         |
 +-------+--------------------------------------+----+----+
 |col1   |col2                             col3 |col4|col5|
 +-------+--------------------------------------+----+----+
 |yack   |yack yack yack                        |:)  |:(  |
 |       |                                      |    |    |
 +-------+--------------------------------------+----+----+
 |yack   |yack yack yack                        |aa  |    |
 |       |yack yack                             |bb  |    |
 +-------+--------------------------------------+----+----+
 |yack   |yack yack yack                        |:)  |:(  |
 |       |                                      |    |    |
 +-------+--------------------------------------+----+----+

1.2.3 section
 1.2.3.5 section

         Some text....

 +-------+--------------------------------------+----+----+
 |                   Table header                         |
 +-------+--------------------------------------+----+----+
 |col1   |col2                             col3 |col4|col5|
 +-------+--------------------------------------+----+----+
 |yack   |yack yack yack                        |:)  |:(  |
 |       |                                      |    |    |
 +-------+--------------------------------------+----+----+
 |yack   |yack yack yack                        |aa  |    |
 |       |yack yack                             |bb  |    |
 +-------+--------------------------------------+----+----+
 |yack   |yack yack yack                        |:)  |:(  |
 |       |                                      |    |    |
 +-------+--------------------------------------+----+----+

----------------------page break----------------------------

 +-------+--------------------------------------+----+----+
 |                   Table header                         |
 +-------+--------------------------------------+----+----+
 |col1   |col2                             col3 |col4|col5|
 +-------+--------------------------------------+----+----+
 |yack   |yack yack yack                        |:)  |:(  |
 |       |                                      |    |    |
 +-------+--------------------------------------+----+----+
 |yack   |yack yack yack                        |aa  |    |
 +-------+--------------------------------------+----+----+

         Some text....



-- 
George Georgalis, systems architect, administrator Linux BSD IXOYE
http://galis.org/george/ cell:646-331-2027 mailto:george at galis.org




More information about the talk mailing list