调整HTML / XHTML TextArea中的文本 [英] Justify Text in a HTML/XHTML TextArea
本文介绍了调整HTML / XHTML TextArea中的文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
text-align:justify;
不适用于中心,左和右等文本。
有没有办法解决这个问题?
解决方案
我不认为这是可能在html textarea元素。你可能可以使用某种wysiwyg编辑器(可编辑div)。即。 fckeditor
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 dont think this is possible in the html textarea element. you might be able to use some sort of wysiwyg editor (editable div). ie. fckeditor
这篇关于调整HTML / XHTML TextArea中的文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文