Question
Using stylesheets with an html enabled textArea
Hi guys,
I'm trying to use stylesheets with an html enabled textArea. My goal is to be able to use something like this (see Fig 1 below):
What I am currently using is listed in Fig 2. This works as long as I wrap my text in Fig 1 in paragraph tags.
I would like to be able to use something like Fig 3. The problem is I don't know how to use a global selector in the setStyle function. Does such a thing exist? If I remember correctly, CSS usually uses an '*' to denote that a style should be applied globally, but it does not seem to be working here. Any help would be appreciated, thanks!
I'm trying to use stylesheets with an html enabled textArea. My goal is to be able to use something like this (see Fig 1 below):
What I am currently using is listed in Fig 2. This works as long as I wrap my text in Fig 1 in paragraph tags.
I would like to be able to use something like Fig 3. The problem is I don't know how to use a global selector in the setStyle function. Does such a thing exist? If I remember correctly, CSS usually uses an '*' to denote that a style should be applied globally, but it does not seem to be working here. Any help would be appreciated, thanks!