E-Book2004.com Logo
_

_
| Archives | CD ROMs | HOME | Phone Support | Search | Newsletter

Ads by Smithfam.com
WebMaster's & Marketing CDs Information, software, graphics, and design tools are critical to success. 256 Marketing Video Reseller Pack
Start using these incredible video tutorials right away to improve your Internet marketing knowledge!

Building Printer Friendly Pages
using css for printing, different browsers under various resolutions, banner ads, navigation menusBy Lauri Harpf   ©2004 All Rights Reserved

_Your site looks like it's working perfectly. You've tested it with several different browsers under various resolutions. The HTML complies with the standards and your CSS is impeccable.

_
_Even if all of the above statements are accurate, everything still might not be the way it should. We often design for screens and blissfully forget that we need to take other devices into account as well. It's surprising to notice that while printers are very widely used, a large part of designers seem to completely ignore them.
_

Why Should I Do This?
using css for printing, different browsers under various resolutions, banner ads, navigation menus
_The more text your site contains, the more reason you have to think about printers. Many people prefer to print out long pages instead of reading them from their screen. They can't take their 19" screen to the park, to their bed or to the beach. However, if they print your content on paper, they can read it whenever they want to, wherever they want to.
_
_By giving your users the possibility to easily print your pages, you're making your site more usable. At the same time, you're encouraging people to spread the word about you and your site. What's more convenient, "Hey, read this great article" or "Hey, go to your computer, fire up your browser and go to this address to read a great article"?
using css for printing, different browsers under various resolutions, banner ads, navigation menus

How Do I Do This?
_
_Ensuring that your site is printer friendly can be done in many ways. Personally, I prefer to use CSS for the job. While it is not supported by some older browsers, CSS is a good choice because it eliminates the need to create separate "printer friendly" versions of your pages. The same page can have one layout for browsers and another one for printers!
using css for printing, different browsers under various resolutions, banner ads, navigation menus
_Unless you're already familiar with CSS, you might benefit from taking a quick look at HTML Help's CSS Tutorial ( http://www.htmlhelp.com/reference/css/ ) before we begin. It's especially important that you familiarize yourself with class selectors, as many of the examples below will use them.
using css for printing, different browsers under various resolutions, banner ads, navigation menus
_That being said, let's open up Notepad and start creating our new external stylesheet file.
_

Modify The Layout...
_
_The first step is to eliminate everything that is useless in a printed version of the page. Banner ads, navigation menus and all unnecessary graphics should be removed. You can do this by adding a new class to the stylesheet:
_
_..remove { display: none }
_
using css for printing, different browsers under various resolutions, banner ads, navigation menus Next, you'll need to think about page width. If your pages are too wide, they won't fit on the paper. Width problems are often caused by a layout that contains fixed-width tables. The solution is to either use relative widths, or to make sure that the fixed width is not too large. In order for your pages to print correctly, they should have a maximum width of approximately 600 pixels.
_
_As CSS overrides the HTML definitions, it's easy to change the size of your tables. For example, defining a relative width of 100% can be done with the following class:
_
using css for printing, different browsers under various resolutions, banner ads, navigation menus..setwidth { width: 100% }
_

Don't Forget The Details!
_
_Your next concern is the font. The one you use for screen display might not be the best one for paper. Sans-serif fonts, such as Arial, are often considered to be the most suitable fonts for the Web. On the other hand, Times New Roman is generally the best solution for printed content.
_
using css for printing, different browsers under various resolutions, banner ads, navigation menusIn addition to the font style, you'll also need to consider its size. The font has to be large enough so that it can be read easily. However, if it's too large, it'll take up unnecessary space. The optimal size in my opinion is somewhere around 12-14 points.
_
_Consider setting the background color to white and the text color to black with CSS. Some printers do print background images and colors, which is usually just a waste of ink. Even worse, if the text color and background color are close to each other, the printout may be impossible to read.
_
_Instead of using a class selector for these modifications, it's usually more comfortable to simply change the way in which the text inside the BODY tag is displayed. Setting the font to black 12-point Times New Roman and the background to white can be achieved with the following CSS statement:
_
using css for printing, different browsers under various resolutions, banner ads, navigation menusBODY { background-color: white; font-family: "Times New Roman", Times, serif; font-size: 12pt; color: black }
_

The Final Touch
_
_After you've created a stylesheet that is to your liking, link it to your HTML files. To do that, simply place the following line between the
_
_<HEAD> and </HEAD> tags:
using css for printing, different browsers under various resolutions, banner ads, navigation menus
_<LINK REL=StyleSheet HREF="http://www.mysite.com/mystyle.css" TYPE="text/css" MEDIA=prin>
_
_All that you'll need to do now is to use your new classes in the appropriate places and you're set to go. Happy printing!


LAURI HARPF runs the A Promotion Guide website, where he offers free information about search engines, directories and other promotion methods. His site can be found at
_http://www.apromotionguide.com/


The #1 Rated Submission Software
More Info


_Traffic Seeker Submits To 800,000 Places Instantly. No other program comes close at any price. Traffic Seeker is the Highest Rated Submission Program. Find out more via autoresponder.
_Download The Free Demo


| Archives | CD ROMs | HOME | Phone Support | Search | Newsletter |
_

_
_

_
Bob's Marketing Phone Support
Home Business CD ROMs
Internet Marketing Tutorials
The eBook Wholesaler Site
The Internet Marketing Center
Good e-Books & Courses
Wholesale Info Publishing CD
Your Own Associate Program
Smithfam's Webmaster's Services
Downloadable Business Packages
Search Engine Submission Software
Find A Business Hosting Company
Low Cost Smart Autoresponder Script
Free Web Based Autoresponders
Credit Card Processing - Free Setup
Can´t find it Here? - Ask Bob
_
Truly Automate Your Website Submissions to Over 800,000 Places
Generate Free Web Site Traffic
Click HereTo Get More Information Via Email

| MoreTraffic | Support | Site Map | HOME | Ask Bob | CDs | Site Design |
| Bob's Articles | Search Site | Newsletter | Archives | Info Packages | About Bob |
| Half-Price Today | Good eBooks | Affiliate Program | eBook Wholesaler | Archives
| Credit Cards | Script Archives | Webmaster's Tools | Autoresponders | Business Opps |
| Hosting | Getting Started | Free Hosting | Free Software | Free Graphics | Site Promotion |
_
_
A Seed Gives Birth to Fruit of its Own Kind

Home-Based Business Support Services
2606 Summer Lane, Eugene OR, 97404
(541) 689-1847
 Click Here to Email Bob Smith
© 1996-2007 Smith's Family Enterprises Inc.
_
Proudly Hosted By
ICDSoft Hosting
_
SF