Have you looked at the Vjustify plugin?
http://michael.futreal.com/jquery/vjustify

I don't think I see anything about it that specifically requires it be used
on divs.

A List Apart did an article last year on detecting text resize that might be
of interest:
http://alistapart.com/articles/fontresizing



On 1/26/07, Will Mo <[EMAIL PROTECTED]> wrote:

Hi,

Playing around with jQuery and thought I'd try to put together a 'table
looking' definition list.  I managed to get something to work in FF but IE6
doesn't seem to care what I think it should do.

// equal height dt/dds
$("dt").each(function () {
    ddheight =     $(this).next().height();
    $(this).height(ddheight);
});

a related question... is there any way to know when the browsers text size
changes?  If you resize your text with this little thing (after it's
loaded), the heights don't update because my little function has run the
course of its live.  I tried attaching it to $(document).resize(); to no
avail.  Is there something like (" document.basefontsize").onChange?

I realize this is just a hack and I'm really only asking/hacking to learn
more about jQuery. I doubt I'd ever actually use this. :)

Thanks!
Will

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/



_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to