Print from Explorer 7. does not work

J

JorgenNM

I am running FP 2003 on a WinXP Proff PC in order to maintain an intranet WEB
site. The site is supported by CSS named "body.css" for the WEB version and a
"print-body.css" to control printout from the individual pages.

This has worked fine for a couple of years, but now I am in trouble. When I
want to print from the WEB-browser my pages does not show in full with of the
paper as they used to do. It looks like the "body.css" define the print.

I have first noticed the problem some time after I updated to Explorer 7,
but I am not sure.



My body.css looks like this

body{
color: #FFFFFF;
background: #CCFFFF;
}

#text{
width:750px;
margin-top:40px;
margin-left:auto;
margin-right:auto;
padding:2px;
text-align:left;
color:black;
background-color : #CCFFFF;
border:solid 0 #669;
}


P {
font-family: Arial, Sans-Serif;
font-size:14px;
background-image: none;
line-height:14pt ;
text-align : left;
color: #000000;
background: #CCFFFF;
margin-top: 0;
margin-left: 10pt;
margin-bottom: 8pt;
}

H1{
font-family : Arial, Sans-Serif;
font-size : 22px;
color : #000099;
background: #CCFFFF;
text-decoration : none;
text-align : left;
margin-bottom: 6pt;
}


My print-body.css looks like this

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

body{
color: #FFFFFF;
}

#text{
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;
}


And the individual pages looks like this

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252" >
<meta http-equiv="Content-Language" content="da" >
<meta name="GENERATOR" content="Microsoft FrontPage 6.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"/>
</head>

..
..
</html>

Thanks in advance

Jorgen
 
H

Helpful person

I am running FP 2003 on a WinXP Proff PC in order to maintain an intranet WEB
site. The site is supported by CSS named "body.css" for the WEB version and a
"print-body.css" to control printout from the individual pages.

This has worked fine for a couple of years, but now I am in trouble. When I
want to print from the WEB-browser my pages does not show in full with of the
paper as they used to do. It looks like the "body.css" define the print.

I have first noticed the problem some time after I updated to Explorer 7,
but I am not sure.

My  body.css looks like this

body{
        color: #FFFFFF;
        background: #CCFFFF;

}

#text{
        width:750px;
        margin-top:40px;
        margin-left:auto;
        margin-right:auto;
        padding:2px;
        text-align:left;
        color:black;
        background-color : #CCFFFF;
        border:solid 0 #669;

}

P {
        font-family: Arial, Sans-Serif;
        font-size:14px;
        background-image: none;
        line-height:14pt ;
        text-align : left;
        color: #000000;
        background: #CCFFFF;
        margin-top: 0;
        margin-left: 10pt;
        margin-bottom: 8pt;

}

H1{
        font-family : Arial, Sans-Serif;
        font-size : 22px;
        color : #000099;
        background: #CCFFFF;
        text-decoration : none;
        text-align : left;
        margin-bottom: 6pt;

}

My print-body.css looks like this

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

body{
        color: #FFFFFF;

}

#text{
        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;

}

And the individual pages looks like this

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252" >
<meta http-equiv="Content-Language" content="da" >
<meta name="GENERATOR" content="Microsoft FrontPage 6.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"/>
</head>

.
.
</html>

Thanks in advance

Jorgen

Check the links to the style sheets in code view. There is a bug in
FrontPage that sometimes strips the media setting from CS links.
 

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