On Sun, 31 Oct 2004 11:26:53 +0100, Ricardo Garcia <th******@wanadoo.es>
wrote:
hi, i was wondering how to get the size of a text element in pixels.
What's a text element?
another question:
why in mozilla this doesn´t work (it does in Opera 7 and IE6)
element.style.left = 50;
and how can i solve the problem
Probably because it's invalid. Any length value, other than zero (0),
requires a unit. Change it to
element.style.left = '50px';
Mike
--
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail.