W3C home > Mailing lists > Public > www-html@w3.org > February 1999

Re: feature for HTML

From: Masayasu Ishikawa <mimasa@w3.org>
Date: Mon, 15 Feb 1999 20:40:12 +0900
To: philippe.doreye@trasys.be
Cc: www-html@w3.org
Message-Id: <19990215204012C.mimasa@w3.org>
"d'Oreye, Philippe" <philippe.doreye@trasys.be> wrote:

> If only one could force the page set up as well as defining the WIDTH of   
> table in millimiters instead of pixel, this would be a progress.

If you really want to force the page set up and want to define the width
of table in millimeters for printing, use style sheets.  For example,
in CSS2, one can write something like this:

  @media print {
    @page {
      size: 200mm 297mm; /* A4 size paper */
      margin: 10mm;
    table { width: 100mm }

This style sheets will specify the paper size as A4 with 10mm margins,
and the width of table will be 100mm when you print the document.
With @media rule, conforming CSS2 user agents will apply this style
sheets only for printing.  See the CSS2 Specification [1] for more

If you want to discuss style issues, use www-style@w3.org instead of

[1] http://www.w3.org/TR/REC-CSS2

Masayasu Ishikawa / mimasa@w3.org
W3C - World Wide Web Consortium
Received on Monday, 15 February 1999 06:42:03 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:50 UTC