Yeah - Michal you are spot on.. sorry for not explaining myself better! Thanks for the suggestions, I'll go away and play with those and the FX.CSS option as well...
Ryan On Feb 18, 7:23 am, Michal Charemza <[email protected]> wrote: > On 17 Feb 2009, at 17:05, ryan wrote: > > > We're writing an inline html editor, so we dont know the width of the > > textarea... and there can be multiple per page. > > On 18 Feb 2009, at 01:07, keif wrote: > > > It's reaching that point of "I just want to KNOW!" :) > > It suddenly came to me in the shower this morning (This is what I > think about in the shower?? God I need a life...) > > Do you mean, you are writing an inline html editor, for other web page > authors to include on web pages? In this case, I finally understand > how the % width of the textarea is not know at the time of writing. In > this case, there are 2 things you can do that I can think of: > > - Document the fact that the textarea is wrapped in a div, so that > authors know how the DOM changes (well, you should do this anyway) > > - Transfer all classes on the text-area to the wrapper, and document > this (so authors know set styles on .replaceableTextArea rather that > textarea), and document this > > I would probably opt for the second one. But you are right, it is > strange there is no (apparent) say to access the CSS style as it was > specified. > > Michal.
