In microsoft word you can make two columns in a document and when you reach the bottom of one column it automatically continues into the top of the other column beside it.
I was wondering if this behaviour is also possible in css?
When I google and search it I find plenty of making a two column webpage layout, but that is not what I want.
I want the textflow to continue automatically int othe other column.
so that if you have this:
<div class="twocolumns">lorem ipsum dolor est.........</div>
that you get
Lorem ipsum dolor sit amet, ea commodo consequat.
consectetur adipisicing elit, Duis aute irure dolor
sed do eiusmod tempor incididunt in reprehenderit in voluptate
ut labore et dolore magna aliqua. velit esse cillum dolore
Ut enim ad minim veniam, quis eu fugiat nulla pariatur.
nostrud exercitation ullamco
laboris nisi ut aliquip ex
Is this even possible with css alone?
You can absolutely do it with CSS3. Unfortunately I’m not sure how well IE handles this, but a shim or something might help with that.
HTML
CSS
jsFiddle