Welcome visitor
* Login
* Register
It is currently September 16th, 2019, 12:01 am
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  Break page when printing
PostPosted: September 12th, 2009, 6:05 pm 

Posts: 19
Hi, im working on the intranet site of the office. We have some very long lists of products according to distributors. What i want to do but dont know how to do it, is that when you print the hole list it should brake the page and continue in the next one when a new product/distributor list begins. Thanks for your help.


Top
 Profile  
 
  Re: Break page when printing
PostPosted: September 12th, 2009, 6:29 pm 
User avatar

Posts: 81
Heres the basic code you can use
<style>
@media print
{
.sections {page-break-after:always}
}
</style>
distributor1 <br class="sections" />
product1 <br class="sections" />
product2 <br class="sections" />
now, you will need to add that code manually unless you're using a database/server side language. HTH.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

FORUMS » Client Side » HTML


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron