Equal column heights (with content) ?

22 Nov 2007 - 8:14am
6 years ago
3 replies
231 reads
Adrian Howard
2005

On 22 Nov 2007, at 12:31, Johan Sjöstrand wrote:

> Hello.
>
> We're looking into possible solutions to keep the same height of a
> article column and a contextual column.
> Here's the kicker, we want to do it with content - automatically.
[snip]
> I know this is somewhat technical, but I'm wondering if anyone has
> attempted this or seen practical solutions to it.
[snip]

See <http://del.icio.us/adrianh/css+columns> for some pointers.

Adrian

Comments

22 Nov 2007 - 8:45am
Matt Nish-Lapidus
2007

That sounds like it makes sense to me. What sort of content will you
use for padding? You have enough extra content that will make sense
within the article context, but isn't required?

On Nov 22, 2007 7:31 AM, Johan Sjöstrand <johan.sjostrand at hyperisland.se> wrote:
> Hello.
>
> We're looking into possible solutions to keep the same height of a
> article column and a contextual column.
> Here's the kicker, we want to do it with content - automatically.
>
> Theoretically, wouldn't it work to measure the height of the article
> with javascript and then with ajax load in blurbs into the contextual
> column until it fills out the height? We will also use CSS tricks to
> visually keep the columns the same. We just don't want a long white
> empty column.
>
> I know this is somewhat technical, but I'm wondering if anyone has
> attempted this or seen practical solutions to it.
>
> Thanks!
>
> Best
> Johan Sjöstrand

--
Matt Nish-Lapidus
email/gtalk: mattnl at gmail.com
++
LinkedIn: http://www.linkedin.com/in/mattnl
Home: http://www.nishlapidus.com

22 Nov 2007 - 9:38am
Anonymous

Think of it as latest news from the same section, and yes, there's
tons of it. Think news site. Closer to bottom, older the article.

/J

On Nov 22, 2007, at 2:45 PM, Matthew Nish-Lapidus wrote:

> That sounds like it makes sense to me. What sort of content will you
> use for padding? You have enough extra content that will make sense
> within the article context, but isn't required?
>
>
> On Nov 22, 2007 7:31 AM, Johan Sjöstrand <johan.sjostrand at hyperisland.se
> > wrote:
>> Hello.
>>
>> We're looking into possible solutions to keep the same height of a
>> article column and a contextual column.
>> Here's the kicker, we want to do it with content - automatically.
>>
>> Theoretically, wouldn't it work to measure the height of the article
>> with javascript and then with ajax load in blurbs into the contextual
>> column until it fills out the height? We will also use CSS tricks to
>> visually keep the columns the same. We just don't want a long white
>> empty column.
>>
>> I know this is somewhat technical, but I'm wondering if anyone has
>> attempted this or seen practical solutions to it.
>>
>> Thanks!
>>
>> Best
>> Johan Sjöstrand
>
> --
> Matt Nish-Lapidus
> email/gtalk: mattnl at gmail.com
> ++
> LinkedIn: http://www.linkedin.com/in/mattnl
> Home: http://www.nishlapidus.com
>

23 Nov 2007 - 3:43pm
Parth Upadhye
2007

I have done this in Flash to fit content into multiple columns. If you
can measure leading (baseline to baseline) and the number of lines for
a given width, you can calculate how many lines to show and then
reflow to next column. Basically you would do the same for the blurbs
too. You could cut it off and say "..." or "[more]"

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Posted from the new ixda.org
http://gamma.ixda.org/discuss?post=22862

Syndicate content Get the feed