Is there anything for line background colour, or with a font background setting the background width?
I want to simulate having text in a cell with a background, using CSS
| SitePoint Sponsor |

Is there anything for line background colour, or with a font background setting the background width?
I want to simulate having text in a cell with a background, using CSS
Andy: Always Morphin Dwarfs
This will give you a span of text with a background image behind it. I'm not sure if that's what you want but that's what it seems like from your question.Code:.backgroundText { background:url('image.jpg'); font-family:verdana,arial,helvetica,sans-serif; font-size:1em; color: #000; } ...further down the page <span class="backgroundText">My text here</span>
--Vinnie

I actually wanted a colour behind the text, so would this work?ThanksCode:.backgroundText { background:color('#0000CC'); font-family:verdana,arial,helvetica,sans-serif; font-size:1em; color: #000; } ...further down the page <span class="backgroundText">My text here</span>
Andy: Always Morphin Dwarfs
Bookmarks