Hi everyone,

I'm currently working on a little design experiment and got stuck at one point. Let me explain my problem. I want to split my content into handy pieces of the size 480x640 px like word processing does it with pages. If one page is full, the next page is started. There's a space between the pages and I want to add effects that let the content look like real pages. But that's not my problem, the only sticking point is to automatically split the content when a page is full.

Does anyone know a simple - or not so simple - trick to accomplish this behavior? Also if there's a solution requiring JavaScript, I'd be happy to hear more about it.

- Nate