Re: text-align vs text-align-last

> Is "text-align-last" has higher priority over "text-align" or not?

This is not a question of priorities or precedences. text-align does not
apply to the last line  of a paragraph; if text-align-last is not set,
it is the same as text-align unless text-align is justify; in which case
text-align-last is start.

The Recommendation is unambigious: 

7.15.10.  text-align-last  

XSL Definition: 
Value: relative | start | center | end | justify | inside | outside | left | right | inherit 
Initial: relative 
Applies to: fo:block 
Inherited: yes 
Percentages: N/A 
Media: visual 

Values have the following meanings: 

relative 

If text-align is justify, then the alignment of the last line, and of any line
ending in U+000A, will be start. If text-align is not justify, text-align-last
will use the value of text-align.

David Tolpin
http://davidashen.net/

Received on Tuesday, 23 September 2003 06:12:18 UTC