Printing from MS IE 7.0


J

Jorgen

My problem is related to printing from MS IE 7.0

I have an intranet site developed in Frontpage 2003 running on a win 2003
server. It works fine as long as the user run MS Explorer 6.0. The printing
is the styled as expected by my “print_body.cssâ€.

But, some of the users have updated to MS IE7.0. In this case the print
feature doesn’t work. I have defined the width of the page to be 750 pix on
the screen. The print on pare show this limitation in the print width as well
as the font size is smaller than wanted.

What is wrong or missing in order to use the “print_body.css†when running
MS IE 7.0


A sample page look like this


<html>
<head>
<meta http-equiv="Content-Language" content="da">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="Cache-Control" content="no-store" />
<meta http-equiv="imagetoolbar" content="false">
<link href="../body.css" rel="stylesheet" type="text/css" >
<link href="../print_body.css" rel="stylesheet" type="text/css"
media="print"/>
<title>Velkommen til Kvalitets- og Miljøstyringssystemet</title>
</head>
<center>
<div id="indhold">
<p>Pressalit Group A/S’ Kvalitets- og Miljøstyringssystem er et
samlet ledelsessystem, der fokuserer på politikker, mål, ansvar og
forretningsprocesserne i den samlede koncern. </p>
</div>
</center>
</body>
</html>

My printing CSS look like this

@media print {
TABLE.noprint, DIV.noprint {display:none}
}

..pagebreak { page-break-before: always }

body{
color: #FFFFFF;
}

#indhold{
margin-left:auto;
margin-right:auto;
padding:2px;
text-align:left;
color:black;
background-color : none;
}

P {
font-family: Times, Serif;
font-size:10pt;
line-height:10pt ;
text-align : left;
margin-top: 0;
margin-left: 10pt;
margin-right:80pt;
margin-bottom: 8pt;
}

H1{
font-family : Arial, Sans-Serif;
font-size : 12pt;
font-weight : bold;
text-align : left;
margin-bottom: 6pt;
}

..graphic{
margin-left: -40pt;
}

Thanks in advance

Jorgen
 
Ad

Advertisements

J

Jorgen

Hello Kathleen

Thanks for the reply, but it is not what I am concerned about.

My solution was to do a specific styling of the pages, when activating the
print icon in IE7.0. This line in my pages call the style sheet which takes
care

<link href="../print_body.css" rel="stylesheet" type="text/css"
media="print"/>

Would you please comment on that? Is it a non valid command in IE7.0 ?

Regards

Jorgen


"Kathleen Anderson" skrev:
 
Ad

Advertisements

Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top