Design and CSS styles
Version 5.x > Design and CSS styles > Repeating background wont repeat-y..... View modes: 
User avatar
Member
Member
kyleg-directec - 5/26/2011 2:18:44 PM
   
Repeating background wont repeat-y.....
I change out the repeating image for interior content in my css code, and now for some reason the image won repeat:

I didnt touch any of the coding that was there before, so I am confused as to how this could end up not working:

#repeating-content
{
float: right;
margin: 0px 30px 0px 0px;
background: #959398 url(../site-images/repeat-content.jpg) repeat-y;
width: 662px;
}

The only thing that I changed was the .jpg file that was being used previously.
Any suggestions? Perhaps I need to change something else where

User avatar
Member
Member
Stratego - 5/27/2011 3:01:51 PM
   
RE:Repeating background wont repeat-y.....
It won't be a Kentico issue.

Get the Firebug Add On for Firefox and experiment.

It may be that you need to position the image.

e.g. background: #959398 url(../site-images/repeat-content.jpg) repeat-y left;

Try isolating the problem e.g. go back to original image and see if it still happens.

Try different browsers

User avatar
Member
Member
kyleg-directec - 6/1/2011 1:01:34 PM
   
RE:Repeating background wont repeat-y.....
Got it. Thanks!