3

I've build a simple web page which includes a background image in the body tag and the background-size is set to cover in css file.When i resize my chrome window the original image gets displayed adjacent to same image and so on just like a collage.How can i solve this issue?

xufor
  • 79
  • 2
  • 8

1 Answers1

5

Add following CSS code to your stylesheet

background-repeat: no-repeat;
Rohan Rao
  • 2,505
  • 3
  • 19
  • 39