[jQuery] Re: DIV clipping or autofit question

2007-08-29 Thread Alexandre Plennevaux
Pop, you can also finetune this presentational behavior via css: white-space: no-wrap / pre / auto -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Pops Sent: mardi 28 août 2007 23:39 To: jQuery (English) Subject: [jQuery] Re: DIV clipping

[jQuery] Re: DIV clipping or autofit question

2007-08-28 Thread Klaus Hartl
Feed wrote: Yes, Firefox does this. I'm not sure if it's a bug or a feature, though. I don't think Firefox, which is known for it's good standards compliance, would suffer from such a stupid bug. Or maybe I'm wrong. :) Nowhere in the spec (up to CSS 2.1) is defined how to handle wrapping long

[jQuery] Re: DIV clipping or autofit question

2007-08-28 Thread Feed
Yes, Firefox does this. I'm not sure if it's a bug or a feature, though. I don't think Firefox, which is known for it's good standards compliance, would suffer from such a stupid bug. Or maybe I'm wrong. :) On Aug 28, 5:27 pm, seedy <[EMAIL PROTECTED]> wrote: > Is the text you are trying to displ

[jQuery] Re: DIV clipping or autofit question

2007-08-28 Thread Pops
HA!!! That was it. The JSON data did not have any spaces. I added a space before each field and viola, it is auto-fitted when you resize the window! Amazing, freaking amazing. :-) Thanks -- HLS On Aug 28, 4:27 pm, seedy <[EMAIL PROTECTED]> wrote: > Is the text you are trying to display > on

[jQuery] Re: DIV clipping or autofit question

2007-08-28 Thread seedy
Is the text you are trying to display onereallylongstringthatdoesnotcontainanyspaces??? I believe Firefox has a bug that prevents it from wrapping text that does not have a space in it, I often run into that problem when trying to display URL's in firefox. Pops wrote: > > > I have a contain