Don't set background properties that aren't relevant to the text replacement.

This commit is contained in:
Chris Eppstein 2008-10-03 11:27:46 -07:00
parent 156b896d97
commit 2189e28c65

View File

@ -4,4 +4,7 @@
=replace-text( !img, !x = 50%, !y = 50% )
:text-indent -9999em
:overflow hidden
:background= url(!img) no-repeat scroll !x !y
:background
:image= url(!img)
:repeat no-repeat
:position= !x !y