Forum How do I...?

text-align : justify

BadSanta
Hello. I can't set css property text-align for page.

.newpage { 
      page-break-before: always;
      text-align-last: justify;
      text-align: justify;
}

 @page {
      .....
      text-align-last: justify;
      text-align: justify;
      .....
}

and then use it:
..information...(about half of page and then pagebreak )
<div class=newpage">
...information...
</div>


but text-align is still left. Why? Please, help me to solve this problem.
mikeday
Can you apply it to the div instead? Text properties are usually applied to elements, not pages.
BadSanta
Yeah! Thx. I put information in div block and set style for div, and it works perfect. Yahooo :)