Welcome to WebmasterWorld Guest from

Forum Moderators: incrediBILL

Message Too Old, No Replies

Making a site more printer-friendly

Can't fit all my site on a print page, I keep losing some in the margins



3:27 pm on Oct 30, 2001 (gmt 0)

5+ Year Member

One of the sites I'm working on, [engext.ksu.edu,...] can't be printed without a chunk of the right side getting lopped off at the margin. I've tried tables, layers, and positioning the text exactly before the margins, but that only makes it look bad.

Anyone have any ideas?



7:21 pm on Dec 6, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

SORRY! Didn't mean to depress you. In the words of Sgt. Joe Friday - "Just the facts."

Zoller Wagner

7:49 pm on Dec 6, 2001 (gmt 0)

Don't worry, I'm smiling!

I've checked the client's stats, but in Webalizer you only get the top 20 or so browsers. That only accounts for about 50% of the visits. Does anyone know of a way to get more complete picture without having to wade through the log files one by one?


11:09 am on Dec 7, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

Woahh.. Marshall & Zoller sorry to butt in on your conversation here but where are you going?

Marshall I note that you use pseudo classes for links in your site. Does it concern you that all those Netscape 4 users don't get the dazzling mouseover effect. Would you recommend that people don't implement the title attribute where possible because Netscape doesn't support it?

The link media attribute is much the same thing. It doesn't work in NN4 but it doesn't break NN4 either. It's valid HTML and a slicker way of working for those lucky enough to have a better browser. The more things like this that are implemented the more likely people are to want to upgrade.

By all means have your printer friendly pages button and support Netscape and everything else but can you give me one good reason why you shouldn't support more elegant printing from the browser controls using the media attribute? I doubt it.

In spite of all this, I am yet to implement it on our site as I only heard of all this after the site was developed. When the site is reworked I'll be sure to support pseudo classes, the title attribute on links and better printing support with the link tag.


11:58 am on Dec 7, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

After all that ranting I should probably include an example. This is from our intranet and we only use IE here, so apologies if it doesn't work in NN4 at all.

Try printing the page using the browser print button in IE, NN6 or Opera 6: click here [hrmsoftware.com]

Here it is without the media styling: click here [hrmsoftware.com]


4:55 pm on Dec 7, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member


I use pseudo classes and titles all the time knowing all too well that NN4 doesn't support them. I also deactivate my style sheet to see how the page displays without it. I also provide <NOSCRIPT> tags for those that don't support JavaScript such as window.print or history.back. And though doing all this can be time consuming, I figure, why limit my potential audience. And I seriously doubt anything will force people to upgrade - people like what they're comfortable with. Support for NN2 and NN3 stopped a long time ago, but 4.5% of my visitors still use it.


7:40 pm on Jan 21, 2004 (gmt 0)

10+ Year Member

Thereīs some cool javascript code that automatically "pushes" the print button


9:39 pm on Jan 21, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

...people are still using NN2. If I didn't make my sites as cross-browser friendly as possible, I'd be loosing 15%-20% of my visitors... Even if it was only 50 people, if it was an e-commerce site, one of those 50 may have been a big spender.

Hmm.. I'd contend that people who are so scared of change that they are still using NN2 (nearly 8 years old!) rather than downloading a free upgrade, are unlikely to do anything crazy like spend money on the Internet.

And if they do then they will be using a very short key to encrypt their credit card info so they put you and your site at risk of fraud.


12:17 am on Jan 22, 2004 (gmt 0)

WebmasterWorld Senior Member korkus2000 is a WebmasterWorld Top Contributor of All Time 10+ Year Member

Sorry, I accidently bumped this very old thread.

If you are going to reply to this thread please take into account the age of the questions and the early replies.


11:33 am on Jan 22, 2004 (gmt 0)

10+ Year Member

Well it appeared at the bottom of the reply notification emails for other threads hence I checked it out and thought Iīd post the auto-print javascript code to this thread cuz part of it was about "customer ehm... satisfaction" sorta speak and I thought thatīd help.

Strange that WWorld puts such inactive threads at the bottom of those emails, it wasnīt totally random either cuz I had it like 6 times in a 1 hour timeframe

This 39 message thread spans 2 pages: 39

Featured Threads

Hot Threads This Week

Hot Threads This Month