Laying Out Text

Now that you know how to style bits of text, it's time to look at styling larger blocks using the Text Editor and laying out entire posts. In this lesson, you learn more about how the Text Editor behaves and tips for how to arrange your written content effectively. In the end, it always comes down to what's easiest for your visitors to read.


I'm using the term paragraph to refer to any block of text that you've separated in the Text Editor by using the Enter/Return key. That's because in HTML terms, the Text Editor sees any text separated in that way — even a single sentence — as a paragraph.


To change the alignment of a paragraph, you simply need to click anywhere in the paragraph (there's no need to highlight the whole paragraph, though you can) and then click the appropriate alignment button — left, center, and right appear on the top row of the button bar.

There's a fourth alignment button that's only visible on the second row of the button bar, and that's for justified alignment. This is when text lines up flush on the left and the right, as shown in Figure 8-1.

Though the symmetry of this look pleases one part of my brain, there's another part that says things like, “Isn't the gap between those two words the same gap that indicates the end of a sentence?” The problem is that browsers aren't as sophisticated as print typesetting programs, in particular with respect to hyphenation, and the real-time nature of browsing does not allow ...

Get WordPress® 24-Hour Trainer, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.