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 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. 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
Archived
This topic is now archived and is closed to further replies.