[jQuery] Re: Can jQuery calculate "CSS Width/Height"

2009-01-28 Thread jay
with 1.3.1 I'm able to get pixel measurement from percent with no problem. example: test alert($("#d1").width()); alert($("#d2").width()); alert($("#d3").width()); alert($("#d4").width()); On Jan 28, 12:17 pm, Kevin Da

[jQuery] Re: Can jQuery calculate "CSS Width/Height"

2009-01-28 Thread Kevin Dalman
Thanks Matt, but that does not work. As my example shows, the element may have a percentage width, or it could be 'auto' (which it would be if not specifically set). What I need is the 'pixel' measurement that would replicate its current size. In other words, if it currently is width:90%; and I r

[jQuery] Re: Can jQuery calculate "CSS Width/Height"

2009-01-26 Thread Matt
$('#Test').css('width') ? On Jan 26, 11:46 am, Kevin Dalman wrote: > jQuery has innerHeight/Width and outerHeight/Width methods, but is > there a method that can return a 'CSS Height/Width'. A CSS width is > the width that would be applied via CSS to achieve a given 'outer > width'. This value w