I obviously don't know the circumstance but you could use a SPAN
HTML:
<p>This is some <span>text</span></p>
CSS:
p span {
width: 100px; height: 200px; display: block;
text-indent: -9999px;
background: url(image.png);
}
Just an idea.
Duncan
– – – – – – – – – – – – –
Sprocket Web Design
www.sprocket.co.nz
– – – – – – – – – – – – –
On 23/10/2007, at 9:59 PM, bjb wrote:
Yes, but the problem is that I can't put the word inside a tag (or
inside two
tags) as necessary for standard CSS-techniques.
bernd
--
View this message in context: http://www.nabble.com/replace-single-
word-with-image-on-the-whole-page-tf4674239s27240.html#a13359902
Sent from the jQuery General Discussion mailing list archive at
Nabble.com.