A
Abraham Andres Luna
sorry for the repost but there are so many ie newsgroups and no one responds
in the others
i just started learning how to use print templates.
i don't think it's working on my computer, its not printing the content.
below is the code i use:
print template:
<HTML XMLNS:IE>
<HEAD>
<?IMPORT NAMESPACE="IE" IMPLEMENTATION="#default">
<STYLE TYPE="text/css">
..contentstyle
{
width:5.5in;
height:8in;
margin:1in;
background:white;
border:1 dashed gray;
}
..masterstyle
{
width:8.5in;
height:11in;
background:#FFFF99;
border-left:1 solid black;
border-top:1 solid black;
border-right:4 solid black;
border-bottom:4 solid black;
margin:10px;
}
</STYLE>
</HEAD>
<BODY>
<IEEVICERECT ID="page1" CLASS="masterstyle" MEDIA="print">
<IE:LAYOUTRECT ID="layoutrect1" CONTENTSRC="2.htm" CLASS="contentstyle"
NEXTRECT="layoutrect2"/>
</IEEVICERECT>
<IEEVICERECT ID="page2" CLASS="masterstyle" MEDIA="print">
<IE:LAYOUTRECT ID="layoutrect2" CLASS="contentstyle"/>
</IEEVICERECT>
</BODY>
</HTML>
2.htm:
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<h1>HTML PAGE</h1>
</body>
</html>
all i see is the devicerect and layout rect, no content, i tried printing it
to see if the content would show up there but still nothing. thank you for
your help.
in the others
i just started learning how to use print templates.
i don't think it's working on my computer, its not printing the content.
below is the code i use:
print template:
<HTML XMLNS:IE>
<HEAD>
<?IMPORT NAMESPACE="IE" IMPLEMENTATION="#default">
<STYLE TYPE="text/css">
..contentstyle
{
width:5.5in;
height:8in;
margin:1in;
background:white;
border:1 dashed gray;
}
..masterstyle
{
width:8.5in;
height:11in;
background:#FFFF99;
border-left:1 solid black;
border-top:1 solid black;
border-right:4 solid black;
border-bottom:4 solid black;
margin:10px;
}
</STYLE>
</HEAD>
<BODY>
<IEEVICERECT ID="page1" CLASS="masterstyle" MEDIA="print">
<IE:LAYOUTRECT ID="layoutrect1" CONTENTSRC="2.htm" CLASS="contentstyle"
NEXTRECT="layoutrect2"/>
</IEEVICERECT>
<IEEVICERECT ID="page2" CLASS="masterstyle" MEDIA="print">
<IE:LAYOUTRECT ID="layoutrect2" CLASS="contentstyle"/>
</IEEVICERECT>
</BODY>
</HTML>
2.htm:
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<h1>HTML PAGE</h1>
</body>
</html>
all i see is the devicerect and layout rect, no content, i tried printing it
to see if the content would show up there but still nothing. thank you for
your help.