Is there a way to get overflowing text to appear in a separate div?
March 10, 2009 8:27 PM
Subscribe
Is there a way to get overflowing text to appear in a separate div?
My aim is to create a website layout resembling a two-column newspaper story. Ideally I'd like to have two column divs with all the copy in the first (left column), which has a set height value. Any overflowing text would automatically be sent into the second div (right column).
Is there any way to do this, or to achieve the same result another way? Is there any reason I shouldn't do this?
I'm prepared to manually adjust the copy in the columns if there is no elegant solution, but I would prefer it if I could get my CMS template to handle these columns somehow. I'm resigned to the fact that I'll probably have to do it manually though, as I haven't seen any CMS-run sites with a dual or multi-column layout where the copy just flows from one column into the next.
posted by carnival of animals to computers & internet (7 comments total)
11 users marked this as a favorite
This page shows the CSS3 layout tricks that will be available in the shining future, and how to fake it with javascript.
posted by adamrice at 8:37 PM on March 10, 2009 [4 favorites]