Prev: TextArea Horizontal Scrolling
Next: Inheritance Chain
From: Rik Wasmus on 24 Apr 2008 06:30 On Thu, 24 Apr 2008 12:25:27 +0200, liketofindoutwhy <liketofindoutwhy(a)gmail.com> wrote: > On Apr 24, 3:22 am, liketofindoutwhy <liketofindout...(a)gmail.com> > wrote: >> On Apr 24, 2:35 am, "Rik Wasmus" <luiheidsgoe...(a)hotmail.com> wrote: >> >> then the offsetWidth and scrollWidth is the same... so it looks like >> scrollWidth reflects an element with a scroll box, not an element >> contained in a scrollbox. > > i mean reflects something different for an element with a scrollbox, > nothing different for an element simply being inside the scrollbox. I'd say that would be so, and for good reason. The width of the image element is not altered in any way, it just happens to be in a element which itself is not 'fully extended'. -- Rik Wasmus |