javascript - HTML Multiple columns in multiple pages -


i want display webpage in book-like fashion, 2 columns, spread through several pages.

i using column-count, works fine 1 page, need split text after number of lines display rest in new page.

so instead of displaying text as:

a b c d e... (each letter represents column of text)

i want:

a b
c d
e..

ho this, specifying number of lines per page displayed (and number of columns, although in case 2) , automatically arrange javascript?

thanks help.

you forgot, each space rendered column!

however, cannot use css break line @ each character, either use

max-width: 5px; /* approximately 1 char */ 

or you'll use jquery break string @ each character , write appending <br /> line.

var chars = "a b c d e f"; chararray = chars.split(" "); /* @ white space */ (int = 0; < chararray.length; i++) {    /* write , add <br /> @ end */ } 

this way can handle it.


Comments

Popular posts from this blog

PHPMotion implementation - URL based videos (Hosted on separate location) -

javascript - Using Windows Media Player as video fallback for video tag -

c# - Unity IoC Lifetime per HttpRequest for UserStore -