In this article, I will show how to create css to justify text. You can use text-align property set to justify, It alters the both left and right margins as straight and align spacing between the words.
When a user opens a jquery ui popup, next he scrolls the page, the model popup window also moving. If you want to stay the model popup window fixed on the scroll. Then create a css class with fixed position,