Tura Posted December 4, 2005 Share Posted December 4, 2005 I've been reading over the pages on CSS backgrounds, but I just can't figure out how to make the background repeat on the right! I know 'y' is repeat one line on the left, and 'x' is repeat one line on the top, but I con't find the one to repeat one line on the right. Link to comment Share on other sites More sharing options...
Ikari Posted December 5, 2005 Share Posted December 5, 2005 I've been reading over the pages on CSS backgrounds, but I just can't figure out how to make the background repeat on the right! I know 'y' is repeat one line on the left, and 'x' is repeat one line on the top, but I con't find the one to repeat one line on the right.<{POST_SNAPBACK}> background-repeat: no-repeat;ORbackground-repeat: repeat-x;ORbackground-repeat: repeat-y;That helps? Link to comment Share on other sites More sharing options...
aspnetguy Posted December 5, 2005 Share Posted December 5, 2005 I've been reading over the pages on CSS backgrounds, but I just can't figure out how to make the background repeat on the right! I know 'y' is repeat one line on the left, and 'x' is repeat one line on the top, but I con't find the one to repeat one line on the right.<{POST_SNAPBACK}> not sure what you are asking, but as IKari pointed out, those are your only options.It will always repeat to the left(y) or down(x).If you need it to repeat right you may have to adjust your image and adjust your layout.Without a page to look at it is hard to imagine what you are trying to do. Link to comment Share on other sites More sharing options...
Tura Posted December 5, 2005 Author Share Posted December 5, 2005 not sure what you are asking, but as IKari pointed out, those are your only options.It will always repeat to the left(y) or down(x).If you need it to repeat right you may have to adjust your image and adjust your layout.Without a page to look at it is hard to imagine what you are trying to do.<{POST_SNAPBACK}> Hmmm... Lemme try to explain better.I am trying to find the code for a background that repeats one line down on right side, instead of te left. Look at the example. The background image repeats itself one line down on the left of the page, but I can't figure out how to make it repeat one line down on the right of the page. Link to comment Share on other sites More sharing options...
F-Man Posted December 6, 2005 Share Posted December 6, 2005 background-repeat: repeat-y;background-position: right;orbackground: url() repeat-y scroll right; Link to comment Share on other sites More sharing options...
Tura Posted December 7, 2005 Author Share Posted December 7, 2005 Thanks! That worked. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now