problem in fonts type and fonts size on printing

Posted by user1400 on Stack Overflow See other posts from Stack Overflow or by user1400
Published on 2010-04-20T06:20:09Z Indexed on 2010/04/20 8:43 UTC
Read the original article Hit count: 726

Filed under:
|
|
|

hello

i have a application on php that i show a report in the table , i want to print this page i can see my page fine in print preview , but when i send thuis page to printer ,the fonts are small and diffrent fonts that i set in css file

this is my css file

@page {
  size: A4 landscape;
  margin-top:2cm;
  margin-bottom:1cm;
  margin-left:1cm;
  margin-right:1cm;
}
 table.print{
    text-align:right;
    border:#999 1px solid;


}

table.print td.e1{

border-top:#999 1px solid;
    padding:5px 2px;
    text-align: right;
    font-size: 20pt;
    font-family:"stencil";

}

table.print td.e2{
    border-top:#999 1px solid;
    padding:5px 2px;
    text-align: right;
    font-size: 120%;
    font-family:"tahoma";
}

thanks

© Stack Overflow or respective owner

Related posts about html

Related posts about css