Prev | Current Page 502 | Next

Kevin Potts

"Web Design and Marketing Solutions for Business Websites"

Because of the increased focus on the content, corporations have
the luxury of moving past antiquated techniques and crafting CSS files that are far more
usable and flexible in the real world. Usability problems are erased, and compatibility
across different browsers is vastly increased.
Printing with CSS
All of the work involved in print-ready pages is not necessary if a website is built using web
standards, and specifically built without using tables for layout. Because web standards
emphasizes the separation of content and structure, style sheets allow different templates
for different media??”in this case, one CSS file dictates the design of the content inside a
browser window, and a separate CSS file determines what the content will look like when
it goes to the printer. See Figure 11-9 for an example.
Figure 11-9. This site, built using web standards, uses a dedicated style sheet to control the display
of printed material. Notice how only the core information prints, and how space is not wasted on
superfluous design elements.
CONTINGENCY PLANNING
263
11
Implementing the printer-friendly style sheet
CSS files are linked to the document inside the tag.


Pages:
490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514