Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
November 12, 2013 10:09 pm GMT

Multi-Line Padded Text

This is one of those tricky CSS things that I see come up every few months. I guess what better place to address it than CSS-Tricks eh?

The situation involves ragged-right inline text. Like when a paragraph of text breaks to the next line whenever the next word won't fit (i.e. most text on the internet). You want to add a background behind that text which:

  1. Follows the ragged-right edge
  2. Is padded along both the left and right edge of


Multi-Line Padded Text is a post from CSS-Tricks


Original Link: http://css-tricks.com/multi-line-padded-text/

Share this article:    Share on Facebook
View Full Article

CSS Tricks

A Web Design Community curated by Chris Coyier

More About this Source Visit CSS Tricks