DimFish
01-22-2008, 12:31 AM
Hi,
If I have a span containing some text with a background colour, is there a way I can add padding to the ends of the lines so that if the text turns onto a new line there is still some padding between the end of the text and background colour?
You can see what I mean here (http://www.reefdoctor.org/index.php/rd/slideshow_test)
See the smaller type on white bg on the home page slideshow, even though I have padding set as:
padding:3px 0 3px 3px
the text is close against the edge of the bg on the left hand side.
Any ideas how I can add some padding to the left?
Thanks
If I have a span containing some text with a background colour, is there a way I can add padding to the ends of the lines so that if the text turns onto a new line there is still some padding between the end of the text and background colour?
You can see what I mean here (http://www.reefdoctor.org/index.php/rd/slideshow_test)
See the smaller type on white bg on the home page slideshow, even though I have padding set as:
padding:3px 0 3px 3px
the text is close against the edge of the bg on the left hand side.
Any ideas how I can add some padding to the left?
Thanks