> I tried setting the z-index style of the span to -1, but on Firefox, this > completely hides the span behind the pre. > > I tried setting the span opacity's to 0.5,, but that makes both the text > and > the span blurred. > > Can someone suggest a way to accomplish that on all browsers?
Change your css as below. pre { padding: 0; margin: 0;position: absolute;z-index:3; } #comment1 { position: absolute; background-color: #FFFF00; top: 19px; left: 81px; width: 76px; height: 15px; z-index: 1; } Regards Graham Cook www.uaoz.com ______________________________________________________________________ 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/