Martin Speiser: Auslesen von CSS-Attributen mit dem IE, einfach?

Beitrag lesen

Hi hambam,

Aber, der Wert ist immer 0 (in Worten: NULL)

hilft vielleicht das aus der MSDN?

<cite>
The pixelLeft property reflects the value of the cascading style sheets (CSS) left attribute for positioned items. The property always returns 0 for nonpositioned items, because "left" has meaning only when the object is positioned. Use the offsetLeft property to calculate actual positions within the document area.
</cite>

Gruss,
Martin