Создать форум бесплатно: ixbb.ru :: Календарь на Март 2024 года: calendar2008.ru/2024/mart/

  Reply to this topicStart new topicStart Poll

Вывод на печать больших таблиц

, печать на принтер
HokinS
  Отправлено: Jan 11 2012, 09:31 AM
Quote Post


  Солдат
*

Группа: unior
Сообщений: 3
Пользователь №: 4118
Регистрация:
11-January 12



Здравствуйте!
Имеется упрощенный html-код:
CODE

............

<table style="page-break-inside:avoid;">
 <tr>
   <td>--------111111111--------</td>
 </tr>
 <tr>
   <td>--------22222222--------</td>
 </tr>
</table>

<table style="page-break-inside:avoid;">
 <tr>
   <td>--------111111111--------</td>
 </tr>
 <tr>
   <td>--------22222222--------</td>
 </tr>
 <tr>
   <td>--------33333333--------</td>
 </tr>
</table>

............


Эти маленькие таблички повторяются, причем количество строк у них разное.
Все это содержимое необходимо выводить на печать, однако если последняя табличка не влазит на страницу, то браузер (FF v5.0.1, Opera v11.60) разрывает её.
Было бы здорово, если бы она целиком переносилась на следующую страницу.
Как видно style="page-break-inside:avoid;" не помогает.

Надеюсь на вашу помощь.
PMEmail Poster
Top
HokinS
Отправлено: Jan 16 2012, 08:31 AM
Quote Post


  Солдат
*

Группа: unior
Сообщений: 3
Пользователь №: 4118
Регистрация:
11-January 12



Всем спасибо за внимание!
Решение найдено.
Вот документация
http://stackoverflow.com/questions/6104622...ak-inside-avoid
Еще понадобится информация о совместном использовании некоторых библиотек.
Её можно найти здесь:
http://docs.jquery.com/Using_jQuery_with_Other_Libraries
или
http://w3pro.ru/book/spravochnik-po-jquery...pt-bibliotekami
PMEmail Poster
Top
ruitrjiu
Отправлено: Dec 12 2013, 01:18 PM
Quote Post


  Unregistered









Do you consider in which Miley's EMAs<br><br>stunt ended up being scandalous along with astonishing, or perhaps gets the crop up superstar already be used up about ways of impact together with shock? Air Max Shoes More Created by Factor: Miley Cyrus's 'Wrecking Ball' Videos Parodied from Betty White-colored: Many other Celebs Spoof Miley Miley Cyrus Sought Topless VMAs Functionality: Often times She's Removed Affordable I was reviewing definitely the Discount Canada Goose Facebook actors The main Great Friends and the most recent Moncler Coats movie using their Youngsters Start up collection,<br>
It's likely which usually the girl stunt failed to astonish a lot of
Think that will Miley's EMAs
shown the total blunt stop on this occasion rrrrrr
Top

Topic Options Reply to this topicStart new topicStart Poll

 



[ Script Execution time: 0.0261 ]   [ 10 queries used ]   [ GZIP выключен ]