You are here: Re: Page Breaks not working for table columns « HTML « IT news, forums, messages
Re: Page Breaks not working for table columns

Posted by Jukka K. Korpela on 06/21/07 21:52

Scripsit Craig Taylor:

> Whenever I try to use the following CSS rule nothing happens:
> TD {
> page-break-before: always
> }

Maybe we shoudn't be surprised, since by CSS specs, the property applies to
block-level elements only.

> If I change the TD to a TR then my table breaks on every line like it
> should.

So why don't you do that? Why would you start a new page before a table cell
but not before the row to which the cell belongs.

TR isn't block-level either, so this is somewhat puzzling. Maybe we aren't
supposed to start a new page befoe a row. Maybe we should try putting a
block element inside a cell and assign the CSS rule to it.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация