Re: no-repeat property

15 views
Skip to first unread message

Stanislaw Osinski

unread,
Aug 18, 2012, 7:30:38 AM8/18/12
to smartsprites-css...@googlegroups.com
Hi,

SmartSprites does not read and does not override the original background-repeat property, so whatever background-repeat you specify, the browser should respect it. There is the sprite-alignment property in SmartSprites, but it governs the layout of images inside the sprite.

Staszek

On Fri, Aug 17, 2012 at 10:05 PM, Yukiko Ishida <kir...@gmail.com> wrote:
Hi, we came across a situation where the browser defaults to repeating the background image. Is there a no-repeat property to set for SmartSprite? Or does it just grab the background-repeat value from the original property list? 

#logo { width: 50px; height: 50px; background-repeat: no-repeat; background-position: top right; background-image: url('../img/mysprite.png'); background-position: right -17px; }

--
You received this message because you are subscribed to the Google Groups "SmartSprites CSS Sprite Generator Users and Developers" group.
To view this discussion on the web visit https://groups.google.com/d/msg/smartsprites-css-sprite-generator/-/858M8KHrvfEJ.
To post to this group, send email to smartsprites-css...@googlegroups.com.
To unsubscribe from this group, send email to smartsprites-css-sprit...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/smartsprites-css-sprite-generator?hl=en.

Reply all
Reply to author
Forward
0 new messages