none
using text-align:justify issues RRS feed

  • Question

  • Hi,

    I'm using text-align:justify;The problem is the text justifys but the word spacing doubles, I tried using word-spacing:normal but it doesn't seem to effect the text in any way.

    i have also done this as open in word->option->Advance->Compatibility->layout option->checked->Do_Fill justification and then copy this text and past my site but spacing problem doesn't solved...

    Anybody any ideas how to solve this? please...


    sharadpatil

    Monday, October 8, 2012 9:18 AM

Answers

  • Setting your Word options will have no effect on the website, even if you copy and paste from Word. You end up dumping all of the word formatting information when you paste into your (presumably) text file.

    AKAIK, all browsers justify by adjusting the spacing between words not the spacing between letters.  This stack overflow answer has a few JS libraries that may be helpful to you:

    http://stackoverflow.com/questions/3848715/adjusting-kerning-in-css.

    • Marked as answer by sharad Donn Wednesday, October 10, 2012 4:32 AM
    Monday, October 8, 2012 3:40 PM