jrottman
Programmer
- Jun 17, 2005
- 47
I am successfully implemented tinyMCE with in a flex based application, this editor is absolutely fantastic when working with flex. I however have run into two issues that I am a bit lost on.
The primary issue that I am currently working on is setting margin spacing with in the textarea. Right now, what I am trying to achieve is a 1.5em space with in the text area so that the text does not touch the other container walls of the textarea.. This is to simulate the basic margin functionality that one would get with in a standard text editor. I have combed google and found a few things that I have tried, but all came up as naught.
I have set the margin attribute on the mceEditorArea css style name to margin: 1.5em 1.5em 1.5em 1.5em; but this didn't do anything for me.
Any know how I can achieve the functionality what I am looking for? I know this is a css issue that I am facing, I am just not sure how to fix it.
Here is my current code.
Complete mceEditorArea
.mceEditorArea { font-family: 'MS Sans Serif', sans-serif, Verdana, Arial; background: #FFFFFF; padding: 0; margin: 1.5em 1.5em 1.5em 1.5em; }
Text Area
<textarea id="elm1" name="elm1" style="width:100%;">
</textarea>
The primary issue that I am currently working on is setting margin spacing with in the textarea. Right now, what I am trying to achieve is a 1.5em space with in the text area so that the text does not touch the other container walls of the textarea.. This is to simulate the basic margin functionality that one would get with in a standard text editor. I have combed google and found a few things that I have tried, but all came up as naught.
I have set the margin attribute on the mceEditorArea css style name to margin: 1.5em 1.5em 1.5em 1.5em; but this didn't do anything for me.
Any know how I can achieve the functionality what I am looking for? I know this is a css issue that I am facing, I am just not sure how to fix it.
Here is my current code.
Complete mceEditorArea
.mceEditorArea { font-family: 'MS Sans Serif', sans-serif, Verdana, Arial; background: #FFFFFF; padding: 0; margin: 1.5em 1.5em 1.5em 1.5em; }
Text Area
<textarea id="elm1" name="elm1" style="width:100%;">
</textarea>