Forum:Padding of inline elements

red text text produces:

red text

text

As you can see its the area within the borders of the inline element that get colored.

reducing line-height to 1.0 one does not reduce the size of the colored area

instead it would cause the 2 boxes (with 'text' inside) to overlap.

This creates trouble when the lower one is colored because it cuts off the descenders on the line above.

I have tried everything to reduce the colored padding within the box but nothing works.

Granpa 21:59, August 17, 2011 (UTC)

Are you asking for something like that? -LtEarth