[Greasemonkey] newbie DOM question

Zoolcar9 (LouCypher) zoolcar9 at gmail.com
Fri Feb 3 19:13:17 EST 2006


On 2/2/06, Jeremy Dunck <jdunck at gmail.com> wrote:
>
> I found that setting the width to a relative percentage after
> appending the img node doesn't work either.  (I did this because my
> hunch was that 90% couldn't be evaluated without a parent node to
> judge containment, since relative widths are "based on the horizontal
> or vertical space currently available, not on the natural size of the
> image" [1].)
>
>
Use 'size' attribute instead, not 'width'


--
LouCypher


More information about the Greasemonkey mailing list