Web Analytics Made Easy -
StatCounter Page Formatting - CodingForum

Announcement

Collapse
No announcement yet.

Page Formatting

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Page Formatting

    If anybody can help, please...
    Is there any way to format webpage that has to be printed out, to get rid of hanging lines and table breaks?
    I have a ASP-generated database report, that's gonna be printed out by users and its tablecells have always different heights.

  • #2
    If table cells height is the problem:

    TD
    { white-space: nowrap;
    }
    or use &nbsp instead of space when generating the report.


    for printing you can redefine your styles using

    @media print {
    TABLE
    {
    .......
    }

    TD
    {
    .......

    }
    }


    For more on tabular data presentation see my page
    Last edited by Vladdy; Jul 9, 2002, 12:52 AM.
    Vladdy | KL
    "Working web site is not the one that looks the same on common graphical browsers running on desktop computers, but the one that adequately delivers information regardless of device accessing it"

    Comment

    Working...
    X