View Single Post
  #7 (permalink)  
Old April 5th, 2006, 06:15 PM
mat41 mat41 is offline
Friend of Wrox
Points: 6,664, Level: 34
Points: 6,664, Level: 34 Points: 6,664, Level: 34 Points: 6,664, Level: 34
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2004
Location: Sydney, NSW, Australia.
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

hans_napier
;;;I'm trying to use the page-break but don't seem to work
This method does. Put this in your style sheet:

br.newpage{page-break-before:always;}

Now on any page you want to force a new page for printing:

<BR class="newpage">

Additionaly if you want to hide something (a print icon or on screen instructions you do not wish to appear on your hard copy) Use the following style:

@media print{
    .NoPrint{
        display: none;
    }
}

And use it like so:

<td valign="top" class="NoPrint">Stuff you dont wnat printed</td>



Wind is your friend
Matt
Reply With Quote