<p style="display:inline-block;background-color:red;">Some text<img src="http://ak.imgfarm.com/images/travel/ExpediaSponsor.gif?24057304" border="0"></p>
should work. If this is a isolated part of your site, you can remove the P's display property but as you wrote it with a SPAN, I assume it's an inline element of your page. JP. ----- Original Message ----- From: "Alec A. Lazarescu" <[EMAIL PROTECTED]> To: <css-d@lists.css-discuss.org> Sent: Wednesday, January 04, 2006 4:40 PM Subject: [css-d] Span Container Background Issue > > > FireFox has the text background red but stops at the height of the text > rather than filling the whole span (made larger by the image). How do I > make the whole span red w/o hardcoding any widths because the image size > can obviously change. > > <span style="background-color: red">Some text<img > src="http://ak.imgfarm.com/images/travel/ExpediaSponsor.gif?24057304" > border="0"></span> > > Thanks, > > Alec > ______________________________________________________________________ > css-discuss [EMAIL PROTECTED] > http://www.css-discuss.org/mailman/listinfo/css-d > List wiki/FAQ -- http://css-discuss.incutio.com/ > Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ > > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.371 / Virus Database: 267.14.12/220 - Release Date: 03/01/2006 > > ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/