How do you plan to use innerHeight and innerWidth ? If an element has 
padding and border, a child element with position top: 0, left: 0 will 
not be placed right next to border. The padding counts too.

Paul Bakaus wrote:
> Hi there,
>
> I will look at this problems for the new core plugin dimensions.js. 
> Getting the calculated style property is always a bit of a hassle. 
> Right now, $().outerHeight will give you the correct offset height 
> including padding and border (hopefully cross-browser), but I haven't 
> tested these special cases yet.
>
> 2006/9/8, Jan Sorgalla <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>>:
>
>
>
>     dave.methvin wrote:
>     >
>     > If nobody else is chasing this I can look at it tonight.
>     >
>     Would be great, i'm also trying to get deeper into it...
>
>     Jan
>
>     --
>     View this message in context:
>     
> http://www.nabble.com/Problems-getting-border-width-tf2239933.html#a6214174
>     Sent from the JQuery forum at Nabble.com <http://Nabble.com>.
>
>
>     _______________________________________________
>     jQuery mailing list
>     [email protected] <mailto:[email protected]>
>     http://jquery.com/discuss/ <http://jquery.com/discuss/>
>
>
>
>
> -- 
> Paul Bakaus
> Web Developer
> ------------------------
> Hildastr. 35
> 79102 Freiburg
> ------------------------------------------------------------------------
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>   


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

Reply via email to