Web page content layout: How to align the right edge of a text block

by sulong on 2009-04-11 17:23:53

1. Problem

A few days ago, a website client pointed out that the right side of the text was uneven and didn't look good. They asked if there was any way to align the ends of the lines.

My first reaction was that it seemed almost impossible, and I started thinking about how complicated it would be to calculate the number of characters and lengths. In fact, ignorance can be quite frightening...

2. Solution

Question: Do you know how many values the **text-align** property can take?