Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Is this even possible?

1 view
Skip to first unread message

Tomas

unread,
Feb 6, 2003, 6:31:41 AM2/6/03
to
Greetings,

I'm starting to get really upset with my inability to set a page-size that's
decent for printing. I'm surprised that when I set it to 8.5 by 11 inches,
it displays alright and is rescaled when I print preview and switch beween
letter-size and A4. A4 is my default, so I was kinda stumped that it
initially worked and looked correct. However, if I have a table that's:

<table style="width:8.5in;height:11in;page-break-after:always;"
border=4>
</table>

It spans in on the second page the same moment I do this:

<table style="width:8.5in;height:11in;page-break-after:always;">
<tr>
<td style='height:11in'>fds</td>
</tr>
</table>

I came up with this alternate:

<table style="width:8.5in;height:11in;page-break-after:always;">
<tr>
<td height='10%'>fds</td>
</tr>
</table>

Works great until I do this, and then it spans in on the second page again:

<table style="width:8.5in;height:11in;page-break-after:always;">
<tr>
<td height='10%'>fds</td>
</tr>
<tr>
<td height='90%'>fds</td>
</tr>
</table>

How in the hell is this sizing set up?! I can't get a page to work straight.
What looks alright on some machines totally bombs when it's deployed on
other machines (IE 5.5+). And now it seems like I can set one single size
for a page and it looks alright, but as soon as I begin to put stuff inside
my tables, as above, the size is increased to a second page. I've searched
the web inside out to find pointers on how a stylesheet should be designed
to make sweet print-outs on letter-size papers and A4 papers. I ended up
making 2 stylesheets, and now they work differently between different
machines? Now I have this application out with 1,500 guys running it, and
everyone is going to need to update now because an inch is no longer an inch
on some machines -- I don't know how Internet Explorer calculates inches --
and that it seems practically impossible to get a single CSS style that will
let me:

1. Make a paged report that prints on A4 and Letter-size
2. Produces consistent results on IE 5.5+ machines

Basically, I'm producing a paged report that will come out on 5 pages. Each
page is different and requires a company header and footer with logo. I
can't do the run of the mill "span all content downwards and care less". I
spent a lot of time getting the reports to come out nicely on sizes good for
A4 and 8.5x11 lettersize. Now it looks all screwed up on other machines. I
could very well be incompetent with this stuff, and all I ask for is
something that WORKS! I've done my part and put the time into these things,
and it looks like Internet Explorer is a hack. Has anyone produced pages
reports that should be displayed in several countries? Can you get a
stylesheet that works on both A4 and letter-size? I'm even getting
inconsistent results on reports produced on various machines in he same
country. I don't care what it looks like on the screen, as long as it looks
good when printed.

Sorry for my frustration but I'm currently drowning in error reports that
say "report pages not breaking correctly" ...


Joe Mumbauer

unread,
Feb 6, 2003, 12:56:05 PM2/6/03
to
I didn't read through the whole thing, but it might have something to do with
the cellpadding or cellspacing. Make sure they're zero. If that doesn't work,
than just try using 99% of the page or something.

Joe Mumbauer.


"Tomas" <som...@nowhere.com> wrote in message
news:eJmeFNdzCHA.2232@TK2MSFTNGP11...

0 new messages