Yeah, that does work, but if you do it with the tr, it will do it on every
tr --- so you get a lot of pages! I think what I did was in my logic is
judiciously add the page break css when I am approaching a certain # of
lines. Guess it just depends on what you are trying to do.

Best!

David

On Tue, Oct 5, 2010 at 4:01 PM, Conor Nugent <[email protected]> wrote:

> Yeah, I'm really looking forward to playing around with it and thanks
> again for your help. Ryan Bates mentions a css solution to the problem
> you have described in his railscast. Basically involves using
>
> page-break-before: always;
>
> for the items you don't want split
>
> Here is the ascii version of Ryan's cast. I hope it might help
>
> http://asciicasts.com/episodes/220-pdfkit
>
>
> --
> Posted via http://www.ruby-forum.com/.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<rubyonrails-talk%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to