Justifying text


show more Justifying text provides you with in-depth training on Web. Taught by Eric Meyer as part of the CSS Web Site Design show less
please wait ...

Justifying text

So in this video, we're just going to take a quick look at horizontal alignment of text. This is a way that you can effect the presentation of text without having to mess around with things like font faces and font families and font weights and other font stuff. So, as an example, we could, let's say, right align all of our paragraph text, why not, seems like fun, so we just say text-align right. So for paragraphs the text will be right aligned and it all goes over the right side.

Now the very avant-garde, not necessarily the way that people who read English or other Western languages are used to seeing it, but there is none the less, and what happens here is that each line of text is shifted over so that its right edge gets lined up with the right edge of its parent element. So within each paragraph there are a number of lines of text. Let's take the second paragraph that starts "It was in the 16th century that the Portuguese missionaries," has three lines of text and wi...

Justifying text
Video duration: 4m 56s 6h 8m Intermediate

Viewers:

Justifying text provides you with in-depth training on Web. Taught by Eric Meyer as part of the CSS Web Site Design

Subject:
Web
Software:
CSS
Author:
please wait ...