On Tue, Feb 17, 2009 at 9:33 AM, ryan <[email protected]> wrote:
> The CSS works fine when you can set that in advance... but this cant.
> I'm wrapping the textarea in a div using javascript, so need to be
> able to get the width through javascript to set it to... which is why
> i need to find the % width.

Just out of interest, why can't you set it up in advance? I would
think the following would work:

.wrapper, textarea { width: 90%; }  /* Note the comma */
.wrapper textarea { width: 100%; }

Which makes it easy to change the exact % later if you wish.

Reply via email to