Forum Moderators: open

Message Too Old, No Replies

set website size to print on a standard printer

to print on a standard printer

         

gecko001

2:19 am on Nov 16, 2005 (gmt 0)

10+ Year Member



Hi Guys,
i am building a site for a small hotel, 5 pages max.

The only thing they ask is.....will it print out on a standard A4 page (thats standard in NZ).

So i am right back to basics here, building a site in a table 700px wide.And defining font sizes in em.

Works fine in firefox, prints perfect. In IE6 it is too big.

Can anyone help with this?

Leosghost

2:29 am on Nov 16, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



You need to link from your standard browser pages to special print friendly pages .."click here for printable pages" button ..

And I think in IE6 you cant specify ems as your print units ..so you may need browser sniffers to serve tailored pages

However I stand willing to be corrected ..on the IE ems thing..:)

gecko001

2:47 am on Nov 16, 2005 (gmt 0)

10+ Year Member



Thanks for the quick reply.

But i was really hoping to find a way to print the same page and keep it all real basic.

Any other ideas?

Dijkgraaf

4:27 am on Nov 16, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You can do some things with stylesheets.
Have a look at the CSS forum, like this for example [webmasterworld.com]

tedster

6:24 am on Nov 16, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



defining font sizes in em

One "em" will refer back to the user-set font size in the browser, so how big it is in absolute terms can definitely vary. For print, I think specifiying in points (pt) is the best way to go.

So I'd suggest trying "em" for the CSS on-screen font unit and "pt" for the CSS print.

jessejump

1:42 pm on Nov 16, 2005 (gmt 0)

10+ Year Member



>>>>> site in a table 700px wide

Make the table about 600px wide. Also depends on user's margin settings.