[jQuery] Re: re[jQuery] place single word with image on the whole page

2007-10-23 Thread Duncan Heal
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

[jQuery] Re: re[jQuery] place single word with image on the whole page

2007-10-23 Thread bjb
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

[jQuery] Re: re[jQuery] place single word with image on the whole page

2007-10-22 Thread Duncan Heal
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