Martin says… Don’t Justify Align
One of my WordPress clients recently asked me for fully justified text on their website rather than to align left.
Here’s an example of normally aligned website text. As you can see, the text is aligned to the left margin meaning that not all of the text will align to the right margin.
AND
Here’s an example of justified website text. As you can see, the text is aligned to both the left margin and right margins, meaning that each line will be the same length.
Justification (or full alignment or double justification) means that each line in your web page is the same length (except perhaps for the last line), with the text on those lines being spread out to meet a uniform line width and to align with both the left and right margins.
The HTML code (or attribute) to achieve this (for those of you who are interested) is text-align=”justify”.
I advised my client against justifying the text on their web page. I think that most website readers prefer to have their text set out in fairly narrow columns, and with the text aligned left. This makes it easier to read.
Justified Alignment is actually non-standard for the web, and the W3C standards committee states the following:
Of course, it’s up to you as a website owner to make the final decision on the text layout and other styles on your site, and don’t forget that text alignment has worked successfully for newspapers for many decades, especially where the columns are particularly wide.
What do you think? Do you think left-aligned text is easier to read, or do you favour the more spaced-out layout of full-text alignment? Leave us a comment below to let us and our readers know what you prefer (and why).
Does your website have inappropriately aligned text? If so, and you would like us to take a look at changing it for you, leave us a comment in the form on this page or call us on 01793 740964.
The wider the width of the paragraphs, and the better the justification algorithm, the less “rivers of white” is a problem. The IE “newspaper” form of justification is particularly good.
I find that with no white space at the left margin the page is difficult to read,as the letters look as though they bleed into the border line. I usually wont bother reading it at all. I find if I view a page in ‘no style’ rather than default, it looks better.
Why not offer a choice. Its fairly simple nowadays to offer a choice between CSS files etc and any good web designer should have readability and web standards in the back of his mind.
Yes, agreed Andy, you can offer your visitors a choice of text alignment via different css files (the same as one might do with things like text size). It might be a little harder with platforms like WordPress and Joomla, but certainly can be done.
Thanks for the comment.
Hello Martin,
Today, I was just searching to align my blog post text as justify and landed to your post and amazed what you have mentioned and what W3C mentioned.
Now, I have decided not to align the text on my blog to justify.
Thanks for the awesome information.
Sabrez Alam
Hi,
Currently my website is using justify for all post. But when I’m browsing on the Internet, I see that no one use this format, it make me confuse. So I try to research, and now, after read your post and some other post, I will remove this format.
Thanks again for your information!
You are right, Justify alignment only looks good for web owners. It is very difficult for readers from mobile as it spaces heavily in between the words.
Guys, just go with Left alignment 🙂
I learn from this post actually before I read and understand about this I really like of justify format but now I decide to use align-left, thanks for your article, its great!
Thank you for the tips. I will stop using the justified texts. 🙂
My site uses fairly wide text areas rather than a lot of columns. So I prefer justified. Call me obsessive compulsive but I just have a certain uneasiness whenever I see the ragged right edge on my pages. The only places I can see where it creates a problem are the article headings. Since WordPress removed the justify option, I had no option but to insert it via CSS but I can’t seem to separate the headers from the body it seems to be either both or none… on the blog page anyway. When reading the full articles it’s fine. Granted I’m a graphic artist and not a web designer by training… but I’m doing the work myself on the site (which is for a small NGO I started).
Hi Harkiran.
I agree that the article / post headings on your archive pages don’t look great. Does it not work for you when you use something like this in your custom css?…
.entry-title, .entry-title a { text-align: left;}
Apart from readability, the choice for me also depends on scalability. Justifying text on your website may cause scaling problems, as screen size and aspect ratios of different devices are not standardized. On some devices your beautifully justified text may appear with too many gaps between the words. In most of my cases justifying text on websites proofed to be a bad idea, especially on websites where a lot of new content was written on the daily.
Sorry but I am pro-fully justified all the way, ragged edges look so messy especially online. Perhaps like Harkiran I’m a bit OCD but when did we lose the motivation to tidy text? It should definitely be a standard of choice in modern day web making tools. Published books, newspaper articles, dissertations, publications, even a lot of cereal packets have justified text on them I object to this option being made obsolete, if anything it should be optioned and synchronised with all web tools. If I could justify this text online right now I would ! Forgive me while I shake my head in disgust !!
This is the problem and I’m having a hard time tidying up my web page so that the writing is left and right aligned. Now I know the problem from reading this good article. thank you for sharing
could it possible to have “justify low” as like as “microsoft word” in wordpress?
Hi Kilian.
Thanks for the comment. I don’t know about ‘justify low’, but you might be able to play with various solutions by combining text-align:justify with text-justify:inter-word (see other options for text-justify here… https://www.w3schools.com/cssref/css3_pr_text-justify.php). You can also try using text-align-last with these other css statements (see its usage here… https://www.w3schools.com/cssref/css3_pr_text-align-last.php). This will allow you to justify only the last line in a paragraph of text.