steveathon / bootstrap-wysiwyg

Tiny bootstrap-compatible WYSIWYG rich text editor
MIT License
661 stars 1.71k forks source link

Justify Character Issue #125

Open fazila-mehtab opened 7 years ago

fazila-mehtab commented 7 years ago

Hi,

I am having issue to applying justify. My case is I want to put first character of every line to the left and last character to the right and remain space will be divided equally for other remaining characters .

First I was using text textLength ="100%" Its is dividing space equally but last character don't set to right. justify issue

After that I use letter-spacing and set its value by dividing width of text box but not getting desire result.

Please help me for this issue ASAP I have given a lot time to this issue, Its really urgent.

Thanks

spreadred commented 7 years ago

So you essentially want the text to take up the entire width with equal spacing between each character?

spreadred commented 7 years ago

@fazila-mehtab Stack exchange is probably the better place to find an answer to your question. For instance, the last answer on this post seems to do what you want:

https://stackoverflow.com/questions/17538151/how-to-make-text-take-full-width-of-its-container