Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS CSS Foundations Web Typography Text Layout and Readability

Felix Yakubov
Felix Yakubov
17,475 Points

Removing text rivers and justify

Guil Hernandez was talking a lot about "rivers" in the typography section of css.

But I can't find an example of how to get rid of them. All I know is that using text-align:justify; can create a lot of problems.

So my question is how to display the paragraph equally without using justify but without a lot of white space?

3 Answers

kevin jordan
kevin jordan
11,353 Points

Hey Felix - My thoughts after completing this part of the course are that you can avoid rivers in your text by using a combination of the following elements in your design : div widths, letter-spacing, font-size, and line-heights. Experimenting with these on your chosen fonts should yield appropriate text rendering, thus minimizing the appearance of rivers.

Hope this helps ! -kj

Felix Yakubov
Felix Yakubov
17,475 Points

Same as I thought =\ the problem is when you have a website that generates posts every week you don't have time to play with every word.... I'm looking for some general approach, but I guess it wont happen... Thanks!

Somehow magazines and newspapers, get this down pat. I think they play with kerning and word spacing. Maybe there is room here for disruption. :)