Page length and number of pixels

  • Thread starter Thread starter Al Krismer
  • Start date Start date
A

Al Krismer

Hello,

I am trying to print out a series of coupons on a web page.
When a person prints the page, I want to make sure that all
of the coupons print to one page. Is it possible to set the
pixel width and pixel height of the table to fit in one 11"
X 8.5 page. If so what would the pixel height and pixel
width be?

Thanks

Al
 
You can do it by creating a PDF coupon then create a link to it.


| Hello,
|
| I am trying to print out a series of coupons on a web page.
| When a person prints the page, I want to make sure that all
| of the coupons print to one page. Is it possible to set the
| pixel width and pixel height of the table to fit in one 11"
| X 8.5 page. If so what would the pixel height and pixel
| width be?
|
| Thanks
|
| Al
 
Depends on the printer, browser and PC.

On screen, a pixel is the smallest measurement you can use, and its physical
size depends on screen resolution and the size of the monitor - this is why
pixels are used for screen sizes, and other metrics (cms, inches) are used
for print. They do not go easily together.
Roughly, using PC and browser defaults, a printed page is about 620px wide,
and 850px long. But in practice this will depend on the browser settings,
the browser being used (defaults in IE are different from defaults in
Mozilla and Netscape) and the capabilities of the printer (can it print up
to the paper edge, or does it need a one inch margin?). Remember - it's
not your browser or printer.

And printing from a Mac will be different again.

The only way to be certain of how a page will print is to make it a .pdf.

Finally, Table width and height are minimums, the browser will expand the
table to fit the content. Some users may be using large fonts, thus forcing
the expansion.
Some browsers will ignore the table height setting, since this is an illegal
attribute HTML4,
 
Some browsers will ignore the table height setting, since this is an
illegal attribute HTML4,

Actually, it's been illegal forever. It was never a part of the HTML
specifications!
 
Back
Top