Previous Message
Next Message

in-line image replacement

Sent by Ingo Chao on 5 July 2007 00:12


Janos Hardi wrote:
> Hello list,
> 
> I prepared a tiny text/image replacement technique that could be
> interesting if you want to replace pieces of text with images.
> Here is a test case: http://yaanno.googlepages.com/imagereplace.html
> I know there are 2 serious problem with this: it doesn't support khtml
> and doesn't conform with "images off css on" requirement.
> Can you provide some workaround for these issues?
> 
> Regards,
> 
> Janos

Since you are not commenting your hack logic, I can only guess why you 
are serving a padding to some browsers, but probably zeroing the width 
helps in Safari.

body:last-child span.four-stars{
	padding: 0 0 0 40px;
	width: 0; /* add */
	}


body:last-child span.three-stars{
	padding: 0 0 0 30px;
	width: 0; /* add */
	}

Ingo

-- 
http://www.satzansatz.de/css.html
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: