Table Background / Printing Question

by "Heil,Polly,EAU CLAIRE,Finance" <polly.heil(at)us.nestle.com>

 Date:  Thu, 5 Oct 2000 12:02:47 -0700
 To:  "Hwg-Techniques (E-mail)" <hwg-techniques(at)hwg.org>
  todo: View Thread, Original
Can someone help me figure out what is going on here?

I am going to try to be as clear as possible since I cannot post a URL to
the problem web page.

I have a table which contains 4 rows.  The first cell spans all 4 rows and
contains a graphic (not a background).  The second column contains
information which is pulled from a database; however, in order to make the
printout harder to duplicate I am trying to place a background image in the
table to work like a watermark.  On the screen everything looks great.
However, when I print this page my righthand graphic (which is Adobe
Photoshop show as being 5.5in x 2.0in) prints as a very TINY graphic at the
center point of the far right margin.

The reason I am not using a watermark is because programmatically I may need
to repeat this table up to five times on the page and need to have the
"watermark" on each instance of the table.

Am I attempting the impossible here?

I am using stylesheets.  Here are both of them for your reference.  Also,
please note that this particular instance does not require this to work in
anything but IE; I am fortunate to creating this for a company intranet that
has 100% standardized software.

<STYLE type="text/css" title="printtype" media="print">
			table{
				width : 7.0in;
				border : medium groove Gray;
				background : url(Y:\Images\grandback.gif)
no-repeat scroll right;
			}
			td {
				font : bolder oblique normal larger/normal
Verdana, Geneva, Arial, Helvetica, sans-serif;
			}
</STYLE>
<STYLE type="text/css" title="printtype" media="screen">
			table{
				width : 7.0in;
				border : medium groove Gray;
				background : url(Y:\Images\grandback.gif)
no-repeat scroll right;
			}
			td {
				font : bolder oblique normal larger/normal
Verdana, Geneva, Arial, Helvetica, sans-serif;
			}
</STYLE>

Here is the table:

<TABLE>
	<TR>
		<td rowspan="4" style="width: 245px; height: 144px;"><IMG
src="/Images/logo.gif" width="245" height="144" alt="">
		</td>
		<td style="vertical-align: top; text-align: right;">Grand
Number: 0000</td>
	</TR>
	<tr><td style="text-align: left; vertical-align:
top;">Name</td></tr>
	<tr><td style="text-align: left; vertical-align: top; font: bolder
normal normal smaller Verdana, Geneva, Arial, Helvetica,
sans-serif;"><strong>Some text here.</strong></td></tr>
	<tr><td style="text-align: left; vertical-align: top;">Some more
text here: <br><hr></td></tr>
</TABLE>


Thanks in advance for any help.

Polly Heil
Assistant Programmer (ColdFusion, SQL, and HTML)
Nestle USA - Nutrition Division
Eau Claire, Wisconsin

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.