Home Messages Index
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: Very Simple JavaScript Question

On Fri, 07 Jan 2005 22:18:41 +0000, Toby Inkster <usenet200501@tobyinkster.co.uk> wrote:

Michael Winter wrote:

Finally, '1' wouldn't be a valid value to be assigned to the fontSize property [...]

Yes -- which is why I used document.getElementById('foo').size instead of going into the "style" object, as I didn't want to modify the get_one function.

But as the OP revealed in another part of this thread, he isn't using a FONT element so the size property doesn't apply. :) Though 1 is unlikely to be the value assigned in the OP's real code, I thought I should just point out the applicable limitations.


Mike

--
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail.

[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index