I obviously don't know the circumstance but you could use a SPAN
HTML:
This is some text
CSS:
p span {
width: 100px; height: 200px; display: block;
text-indent: -px;
background: url(image.png);
}
Just an idea.
Duncan
– – – – – – – – – – – – –
Sprocket Web Design
www
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 Gene
Hi Bernd
You could do this with a variety of CSS techniques (hide the text and
have a background image).
In jQuery you could do something like this:
$(document).ready(function() {
$('#logo').html('');
});
You'd have to have an ID attached to the P.
Text to replace
You can read up
3 matches
Mail list logo