Drongo_III Posted November 13, 2012 Share Posted November 13, 2012 Hi Guys Working on tricky site at the mo and what I really need is to be able to do something like: background : url('images/side_shadows.png') 0px 150px repeat-y; I need this because I want the background shadow to start some distance down the div on which it's applied. But this doesn't appear to work (by which i mean nothing happens and it just tiles down the y-axis as normal). Is it just a fact that this doesn't work or is there something I'm missing? Thanks Drongo Quote Link to comment https://forums.phpfreaks.com/topic/270649-background-repeat-from-defined-position/ Share on other sites More sharing options...
codefossa Posted November 13, 2012 Share Posted November 13, 2012 That just defines where it starts repeating along the y-axis in both directions. You would want to create a div and put margin-top at 150px so you can then use background: url('') repeat-y; and accomplish it. Quote Link to comment https://forums.phpfreaks.com/topic/270649-background-repeat-from-defined-position/#findComment-1392150 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.