Re: [WSG] CSS and printing absolute units

2008-10-28 Thread Luke Hoggett

Hi,

Try using picas (pc) or points (pt). I haven't had this problem before 
myself, but I believe that it may be caused by the fact that printers 
have no concept of what a cm or mm is.


A good description of pc and pt is at 
http://www.guistuff.com/css/css_units.html (down the page a bit)


cheers
L

nedlud wrote:

I need to write a print style sheet and have a particular element on
the page print at a specific absolute size (85mm by 35mm). I've set
the size using the mm units in the style sheet, but the element is
printing at 65mm wide.

From what I can see, mm (and cm) are well supported measurements in
different browsers, but the results I'm getting in print are not what
I need.

Does anyone have any advice on how I can get the area to print at the
right size? Or am I doomed to failure due to different users printers
probably giving different results anyway?


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***


  



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***

[WSG] CSS and printing absolute units

2008-10-27 Thread nedlud
I need to write a print style sheet and have a particular element on
the page print at a specific absolute size (85mm by 35mm). I've set
the size using the mm units in the style sheet, but the element is
printing at 65mm wide.

From what I can see, mm (and cm) are well supported measurements in
different browsers, but the results I'm getting in print are not what
I need.

Does anyone have any advice on how I can get the area to print at the
right size? Or am I doomed to failure due to different users printers
probably giving different results anyway?


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***