views:

26

answers:

0

I've heard of a few scripts that can return the computed/rendered style of an HTML element. I've found that simply using currentStyle and computedStyle will often be buggy. In addition, simple scripts that find the total offsetLeft/Width will go awry in many cases. Instead of trying to reinvent the wheel (if one exists at all), what are the most complete getComputedStyle() scripts? (standalone or not)

EDIT: by computed/rendered, styles like height wouldn't return auto, but the actual pixel value