Welcome to WebmasterWorld Guest from 184.108.40.206
Forum Moderators: incrediBILL
Anyone have any ideas?
Basically dynamic means making everything in fluid by using percentages rather than fixed widths/heights. I'll sticky-mail you the web address of a site I just designed where you can see how it works. The site adjusts from 620 pixels wide and up, so printing is never a problem. I use images to prevent it from going below 620. Even the font-size is in percentages, or you could use "em", so the user can easily adjust it. It solves a lot of printing problems, but it can be time consuming depending on the layout of the page. One side note: NN4 doesn't always like font-size in percentages. Why? Ask Netscape. :)
I have a couple of sites that the users typically print specifications pages from. I found the secondary printer friendly page to work just fine. If you've got a bunch of them, it may become time consuming but it does solve the problem.
The other issue is to make sure that the content for the printer friendly page does not exceed 640 pixels in width.
As a sidenote; there are those users who know how to control their print output and will adjust the scaling to 80%-90% so the page fits when printing. This is controlled from the properties menu when choosing file > print > graphics. This will depend on the users printer and capabilities. My HP's all have this feature.
The print page is stripped off the header, left-menu & footer. Except for the width of the stripped items, I always use relative width for tables, so that the page fits always, no matter what printer settings you might have.
N.B. If you design your website for 800x600 and you strip off the left-menu (if you have one), it'll always fit as well. ;)
Also the page with the cgi scripting is here:
Hope this helps you guys.
You can run your content against a script that has tables set at 100%, just for printing.
Also set columns at 100%, if needed. (depends on the size).
Images may prevent the table from shrinking enough to fit a page, if they are too wide.
If the goal is to get sites working for most of our viewers, then this isn't a good option given the browsers people are currently using.
I just designed a website in the nontraditional way of having a dark background and light text on top. I didn't even think about the printing issues when I designed it. Is there HTML code or other code that will print my light-colored text as black, or else show the dark-colored background so that the light-colored text shows up? Or should I resort to a printer-friendly link on each page of the site?
Thanks for your help.
Here you're getting into printer setting options. Most printers have a default setting NOT to print the background and to print white text in black or gray scale. If someone has their printer set to print backgrounds, which is really a waste of ink, then light on dark really isn't an issue.
window.print(). Works in IE, netscape, opera. If you would like to make a link with it use:
Or if you want to print a window when it opens, use:
Zoller_Wagner: If the goal is to get sites working for most of our viewers, then this isn't a good option given the browsers people are currently using.
That statement seems quite contradictory... since Opera 6 (don't know about 5), Netscape 6 and IE4+ all support the link media attribute I think that easily covers most users. I'm sure orwell and I never offered it as the perfect solution; Simply one of the options.
It's also one of the nicer options, as it means users can click the normal browser print control and still get the required effect. If you need support for NN4 (and I'm not saying thats a bad idea) then use something else (possibly in combination).
If it doesn't work in Netscape 4 browsers (or IE 4, for that matter), I'm unwilling to do it. When the number of people using these older browsers drops to 1-2 percent I'll move on over, but not yet.
I see no need to alienate potential customers. Many of my clients' customers are in situations like schools where they limp along with old equipment and don't have the newer browsers. Your situation may be different.
When this does happen, I'd LOVE to use your idea!
I took the liberty of including the November browser use stats from one of my sites - 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, roughly 5,000 people. And from viewing my other sites stats and those of many of my customers, the percentage is about the same. Even if it was only 50 people, if it was an e-commerce site, one of those 50 may have been a big spender.
Most active browsers by type and version:
- AOL 4.x with 12273 sessions (32.10% of all sessions)
- MSIE 5.x with 9974 sessions (26.09% of all sessions)
- Unknown with 5807 sessions (15.19% of all sessions)
- AOL 5.x with 3494 sessions (9.14% of all sessions)
- Netscape 4.x with 3436 sessions (8.99% of all sessions)
- Netscape 3.x with 946 sessions (2.47% of all sessions)
- Netscape 5.x with 889 sessions (2.33% of all sessions)
- Netscape 2.x with 759 sessions (1.99% of all sessions)
- MSIE 4.x with 539 sessions (1.41% of all sessions)
- WebTV 2.x with 48 sessions 0.13% of all sessions)