parseInt($t("#divID").css("width") ) should work

On Jul 24, 11:25 am, "Brandon Aaron" <[EMAIL PROTECTED]> wrote:
> Is this happening in all the browsers or just a specific browser?
>
> --
> Brandon Aaron
>
> On 7/24/07, GianCarlo Mingati <[EMAIL PROTECTED]> wrote:
>
>
>
> > .width() is not enough ;-)
> > I have a div with overflow: hidden and it's width is, suppose, 100px;
> > Inside i have a very long P
> > <div style="width: 100px; overflow:hidden">
> > <p style="white-space:nowrap;">my v-e-r-y long text, repeated...my v-e-
> > r-y long text, repeated...100 times</p>
> > </div>
>
> > the NOWRAP keep my text in ONE line. Riht?
> > If i ask:
> > $("div p").width()
> > jQuery returns 100!
>
> > 100 is the value of the visible area, i guess. What for the part i
> > don't see?
> > maybe the dimensions plugin may help? Tried but without success.
>
> > Is there any way to get the exact value, in PX of a NESTED element
> > even tho it's not FULLY visible?
>
> > Yes, still the newsticker....
> > Thanks in advance.
> > GC

Reply via email to