![]() |
|
|
|
#1 |
|
Hey,
I would like to get a text with a justify align but without single-lettered words on the end of each line: blah blah blah blah blah ...................................... a comparison blah blah blah..................................... the word 'a' is ugly there and should be removed to a next line. I have tried <BR>'s and 's but it didn't help at all, cause there is no more good-looking justify align after using them. In MS Word it is probably called a 'soft enter'. Any ideas?? Thanks, Pawel Pawel |
|
|
|
|
#2 |
|
Posts: n/a
|
"Pawel" <> wrote:
> I would like to get a text with a justify align I suppose you mean align="justify" or its CSS counterpart text-align: justify. It's usually a bad idea in HTML authoring. For an explanation, see http://www.cs.tut.fi/~jkorpela/www/justify.html > but without > single-lettered words on the end of each line: Pardon? > blah blah blah blah blah ...................................... a > comparison blah blah blah..................................... What's that supposed to mean? What do the periods mean? Please post a URL, it's much better than trying to explain layout things in plain text. > the word 'a' is ugly there and should be removed to a next line. Well, if you just want to prevent the word "a" from appearing at the end of line, then separate it from the next word with instead of a space. That works no matter what the alignment is (though any no-break spaces increase the risk of poor appearance of justified text). > I have tried <BR>'s and 's Why did you try <BR>? How did you use ? > but it didn't help at all, cause there is no > more good-looking justify align after using them. As I wrote, preventing line breaks (with or otherwise) increases the risk of getting bad results from justification. But that's caused by the very prevention of line breaks, not any particular method used for it. > In MS Word it is probably called a 'soft enter'. Hardly. And in any case, using your guess of a solution's counterpart in MS Word isn't a good basis for writing a Subject line. Start from the problem, not from the assumed solution (especially since the assumption is usually wrong). -- Yucca, http://www.cs.tut.fi/~jkorpela/ Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html |
|
|
|
#3 |
|
Posts: n/a
|
On Mon, 17 Jan 2005 23:07:20 +0100, Pawel <> wrote:
> Hey, > > I would like to get a text with a justify align but without > single-lettered > words on the end of each line: > > blah blah blah blah blah ...................................... a > comparison blah blah blah..................................... > > the word 'a' is ugly there and should be removed to a next line. I have > tried <BR>'s and 's but it didn't help at all, cause there is no > more good-looking justify align after using them. Can you show an example of how you used nbsp? Using instead of a normal space after each single-lettered word should do the trick, I beleive, though I never tried it. Server-side scripting to the rescue. -- Mitja |
|