...

View Full Version : @media print and other questions



Ultragames
08-18-2005, 08:31 AM
I have a long table, that when printed, can sometimes seperate some important row from another. I have recently learned about @media print, and paged media through CSS. I am wondering, is there anything i can do through CSS, to add breaks in the page, or do anything i must, in order to make sure that (for example) row 15 and 16 stay together?

This is quite important. Quick replys are welcomed.

Thanks.

hemebond
08-18-2005, 09:50 AM
There probably is, but it sounds more like a problem with your markup if you must have 2 rows together.

brothercake
08-18-2005, 10:39 AM
There are "page-break-before" properties, with values like "always" or "never". There are others as well, that can control windows and orphans, than kinda thing. Have a look here - http://www.w3.org/TR/CSS21/page.html



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum