[css-d] Highlighting text

2005-11-10 Thread Shmulik Flint
I'm trying to add highlighting features to a pre tag. I want it to look like GMail higlight and spell-checking feature, but I don't want to break the pre tag text into small span tags. Instead, I want to position a span with a background color over a specific text, so the text will look

Re: [css-d] Highlighting text

2005-11-10 Thread Graham Cook
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