[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

5.8

HTML table tag and printing

Asked by aguldber in Web Authoring

Tags: landscape

Everyone here knows the joys of printing on the web. I'm sure this will add to that saga...

Here's some background info: I am generating a financial report on our Intranet (IE 4.01 is our browser client, IIS 4 web server) and they would like to obviously like to view this report on their screen (assume 17" monitor 800x600 video mode) and also be able to print it in landscape mode on a standard sheet of paper. This report would be generated on the fly from an ASP file which I am creating to pull data from an Oracle database to create the report.

Through some experimentation I have found that an 8pt font-size is probably the limit of readability for Screen viewing, while we could go down to 7pt font-size for printed viewing.  

The problem is that this report is considerably wider than one screen width (using an 8pt font-size) so I am limited to defining the table by pixels instead of a percentage of the screen. If I use a style sheet to change the font-size based on the media (Print or Screen) the font-size changes but the table dimensions stay the same. Since the table width in pixels is longer than one landscape printed page and does not adjust with the different media, I can't take advantage of the reduced font-size to have more of the report printed on that page.

How do I fulfill this printing need?

The HTML code that I have for this report is below:

<html>

<head>
<title>Brenda Pashak's Complex Report</title>
<style type="text/css" media="Print">
BODY {font-size: 8pt}
.smallprint {font-size: 8pt}
</style>
<style type="text/css" media="Screen">
BODY {font-size: 8pt}
.smallprint {font-size: 8pt}
</style>
</head>

<body>
<div align="left">

<table border="1" cellpadding="0" width="1300" cellspacing="0" class="smallprint">
  <tr>
    <td colspan="10" width="425" align="center"><p align="center">Current Month</td>
    <td width="180" rowspan="4">&nbsp;</td>
    <td colspan="12" width="527" align="center"><p align="center">Year-to-Date</td>
  </tr>
  <tr>
    <td colspan="4" width="194" align="center"><p align="center">at Actual Exchange Rates</td>
    <td colspan="4" width="156" align="center"><p align="center">at Budgeted Exchange Rates</td>
    <td colspan="2" width="63" align="center"><p align="center">Variance due to Currency</td>
    <td colspan="4" width="139" align="center"><p align="center">at Actual Exchange Rates</td>
    <td colspan="4" width="175" align="center"><p align="center">at Budgeted Exchange Rates</td>
    <td colspan="2" width="73" align="center"><p align="center">Variance due to Currency</td>
    <td colspan="2" width="122" align="center"><p align="center">% Change from Prior YTD</td>
  </tr>
  <tr>
    <td width="107" colspan="2" align="center">&nbsp;</td>
    <td colspan="2" width="75" align="center"><p align="center">Variance</td>
    <td width="87" colspan="2" align="center">&nbsp;</td>
    <td colspan="2" width="57" align="center"><p align="center">Variance</td>
    <td width="57" colspan="2" align="center">&nbsp;</td>
    <td width="71" colspan="2" align="center">&nbsp;</td>
    <td colspan="2" width="56" align="center"><p align="center">Variance</td>
    <td width="85" colspan="2" align="center">&nbsp;</td>
    <td colspan="2" width="78" align="center"><p align="center">Variance</td>
    <td colspan="2" width="73" align="center">&nbsp;</td>
    <td colspan="2" width="122" align="center">&nbsp;</td>
  </tr>
  <tr>
    <td width="56" align="center"><p align="center">Actual <br>
    USD</td>
    <td width="51" align="center"><p align="center">% of <br>
    Sales</td>
    <td width="55" align="center"><p align="center">USD</td>
    <td width="17" align="center"><p align="center">%</td>
    <td width="47" align="center"><p align="center">Actual <br>
    USD</td>
    <td width="40" align="center"><p align="center">% of <br>
    Sales</td>
    <td width="36" align="center"><p align="center">USD</td>
    <td width="15" align="center"><p align="center">%</td>
    <td width="46" align="center"><p align="center">USD</td>
    <td width="11" align="center"><p align="center">%</td>
    <td width="32" align="center"><p align="center">Actual <br>
    USD</td>
    <td width="39" align="center"><p align="center">% of <br>
    Sales</td>
    <td width="35" align="center"><p align="center">USD</td>
    <td width="15" align="center"><p align="center">%</td>
    <td width="46" align="center"><p align="center">Actual <br>
    USD</td>
    <td width="39" align="center"><p align="center">% of <br>
    Sales</td>
    <td width="33" align="center"><p align="center">USD</td>
    <td width="39" align="center"><p align="center">% of <br>
    Sales</td>
    <td width="46" align="center"><p align="center">USD</td>
    <td width="21" align="center"><p align="center">%</td>
    <td width="56" align="center"><p align="center">as <br>
    reported</td>
    <td width="60" align="center"><p align="center">at Current <br>
    Year BER</td>
  </tr>
  <tr>
    <td align="right" width="56">xx,xxx.x</td>
    <td align="right" width="51">xx.x%</td>
    <td align="right" width="55">xx,xxx.x</td>
    <td align="right" width="17">xx.x%</td>
    <td align="right" width="47">xx,xxx.x</td>
    <td align="right" width="40">xx.x%</td>
    <td align="right" width="36">xx,xxx.x</td>
    <td align="right" width="15">xx.x%</td>
    <td align="right" width="46">xx,xxx.x</td>
    <td align="right" width="11">xx.x%</td>
    <td align="right" width="180"><p align="left">_Business Operating Fixed Expense_</td>
    <td align="right" width="32">xx,xxx.x</td>
    <td align="right" width="39">xx.x%</td>
    <td align="right" width="35">xx,xxx.x</td>
    <td align="right" width="15">xx.x%</td>
    <td align="right" width="46">xx,xxx.x</td>
    <td align="right" width="39">xx.x%</td>
    <td align="right" width="33">xx,xxx.x</td>
    <td align="right" width="39">xx.x%</td>
    <td align="right" width="46">xx,xxx.x</td>
    <td align="right" width="21">xx.x%</td>
    <td align="right" width="56">xx.x%</td>
    <td align="right" width="60">xx.x%</td>
  </tr>
  <tr>
    <td width="56" align="right">xxx,xxx.x</td>
    <td width="51" align="right">100.00%</td>
    <td width="55" align="right">xxx,xxx.x</td>
    <td width="17" align="right">xxx.x%</td>
    <td width="47" align="right">xxx,xxx,x</td>
    <td width="40" align="right">100.00%</td>
    <td width="36" align="right">xxx,xxx.x</td>
    <td width="15" align="right">xxx.x%</td>
    <td width="46" align="right">xxx,xxx.x</td>
    <td width="11" align="right">xxx.x%</td>
    <td width="180" align="right"><p align="left">_Business Operating Fixed Expense_</td>
    <td width="32" align="right">x,xxx,xxx.x</td>
    <td width="39" align="right">100.00%</td>
    <td width="35" align="right">xxx,xxx.x</td>
    <td width="15" align="right">xxx.x%</td>
    <td width="46" align="right">x,xxx,xxx.x</td>
    <td width="39" align="right">100.00%</td>
    <td width="33" align="right">xxx,xxx.x</td>
    <td width="39" align="right">xxx.x%</td>
    <td width="46" align="right">xxx,xxx.x</td>
    <td width="21" align="right">xxx.x%</td>
    <td width="56" align="right">xxx.x%</td>
    <td width="60" align="right">xxx.x%</td>
  </tr>
</table>
</div>
</body>
</html>
 

 
Related Solutions
Keywords: HTML table tag and printing
 
Loading Advertisement...
 
[+][-]05/18/99 03:23 PM, ID: 1862436Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05/18/99 06:56 PM, ID: 1862437Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05/19/99 06:08 AM, ID: 1862438Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05/19/99 09:18 AM, ID: 1862439Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05/19/99 09:41 AM, ID: 1862440Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05/19/99 11:36 AM, ID: 1862441Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05/19/99 12:14 PM, ID: 1862442Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05/19/99 01:03 PM, ID: 1862443Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05/19/99 01:07 PM, ID: 1862444Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05/19/99 01:07 PM, ID: 1862445Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05/19/99 01:21 PM, ID: 1862446Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05/19/99 10:28 PM, ID: 1862447Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05/20/99 07:14 AM, ID: 1862448Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05/20/99 11:53 AM, ID: 1862449Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05/20/99 03:12 PM, ID: 1862450Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05/20/99 11:28 PM, ID: 1862451Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05/21/99 06:57 AM, ID: 1862452Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05/21/99 03:40 PM, ID: 1862453Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zone: Web Authoring
Tags: landscape
Sign Up Now!
Solution Provided By: johnny99
Participating Experts: 4
Solution Grade: A
 
[+][-]05/25/99 05:36 AM, ID: 1862454Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-89