I am currently trying to justify text in a textarea, unfortunately the CSS:
text-align: justify;
Doesn't work on the text like center, left and right do. I've tried this in both Firefox 3 and IE 7 with no luck.
Is there any way around this?
I am currently trying to justify text in a textarea, unfortunately the CSS:
text-align: justify;
Doesn't work on the text like center, left and right do. I've tried this in both Firefox 3 and IE 7 with no luck.
Is there any way around this?
I believe that common practice is to use the
TEXTAREA
for input without worying about justification; and then, once the input is processed (i.e. theFORM
is submitted, or an event of theTEXTAREA
is captured), the contents are displayed in a non-editable text element (such asP
,SPAN
,TD
) where thetext-align: justify;
style attribute will be honored.