• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 279
  • Last Modified:

Center a repeat background image

Is there a way to center horizontally a background image and have it repeat, but fan out to the right and left?

My background image looks good on some screen widths, but on others, it cuts off on the right of the body and looks off-centered.

I'd like it to start in the center and then fan out from there so both the right and left of the body look uniform.

thanks.
0
Starr Duskk
Asked:
Starr Duskk
  • 2
1 Solution
 
Starr DuskkASP.NET VB.NET DeveloperAuthor Commented:
Found the answer:

background-position: center center;
0
 
user_nCommented:
Can you give a link to the page or the html source with css files and images
0
 
Starr DuskkASP.NET VB.NET DeveloperAuthor Commented:
found it.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now