Forum Moderators: not2easy

Message Too Old, No Replies

text align last line

         

daveichler

12:52 am on May 16, 2009 (gmt 0)

10+ Year Member



Hi,

I'm currently building an online literary magazine, and each page of the site represents a page of the magazine. I am encapsulating each of the paragraphs in paragraph tags, and each page in a div. My goal is to have each line be fully justified. The one issue I'm having is when a page ends, but it is not the end of the paragraph, and the story continues to the next page, I cannot figure out how to get that last line to fully justify.

I found the text-align-last attribute for IE, but could not find a similar one for Firefox or safari.

Any advice on how to get the last line of a block of text to fully justify?

Thanks!

swa66

7:40 pm on May 16, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



text-align-last is part of the Working Draft of the CSS3 text module.
For now I'd not expect standards compliant browsers to have support for it yet.

[w3.org...]

There is no CSS2.1 alternative to get that level of control.