473,396 Members | 1,843 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

page break during print in asp

232 100+
i hav a web page to display record of students in tabular form.to take print out its neccessary condition that whole record should come in one page not in separate pages is there any way to make page break after every records as there are more than 300 records its very difficult to take printout by individually selecting all records
Apr 15 '09 #1
1 4255
jhardman
3,406 Expert 2GB
There is a "page-break-before", "page-break-after", "page-break-inside" property in CSS, this is what you want to use, however I'm not sure how well this is implemented in different browsers. Anyway, this is how it looks:
Expand|Select|Wrap|Line Numbers
  1. <table style="page-break-before: always; page-break-inside: avoid;">
In addition, I believe there are some non-standard properties you can set in Internet Explorer. Is this to be used on a specific browser? That might make things easier.

Jared
Apr 17 '09 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

9
by: Michele Simionato | last post by:
Is there a way of "ending" a module? I would like something like this: # mod.py print 'something here' end() # some mysterious function print 'you should not get here' # main.py import mod...
10
by: Scott Brady Drummonds | last post by:
Hi, everyone, I have a bug in a script of several hundred lines of code that I cannot figure out. I have attempted (unsuccessfully) to duplicate this problem in a smaller script that I can post...
1
by: Scott | last post by:
Was not sure if this was the place to post this or not, so if not, can someone point me in the right direction. Here is my problem - I have an ASP page the is generating a file with HTML that is...
2
by: gmnospam | last post by:
How do insert a forced page break to control pagination when I print out the code? This would be someline that is not compiled, only used during code printout. Thanks, gm
3
by: yfng | last post by:
I am doing a web project. Is there any method to print web pages with support of page breaks and without printer prompt diaglog e.g.like window.print() (or close immediately) by just clicking a...
3
by: Jennie | last post by:
I am looking for a way to make the web page have a formfeed so the info from that spot will go to the top of the next printed page when I file>print the web page. I want it not to break on the...
2
by: Ken | last post by:
I created a global.css file which includes this script: div.printbreak {page-break-after: always} In the HTML script I have: <div class=printbreak> .... </div>
1
by: James Wong | last post by:
Dear all, For some reason, I have to write my own code to print a document instead of using report writer. The source is an array with dynamic length. If one page is full, I have to insert a...
7
by: k0mp | last post by:
Hi, Is there a way to retrieve a web page and before it is entirely downloaded, begin to test if a specific string is present and if yes stop the download ? I believe that urllib.openurl(url)...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.