Mint
Mint

Reputation: 15937

Tiled background image doesn't tile over the entire page

For some reason my tiled image doesn't tile over the whole background. Though it fills the whole background when I resize the window a little bit.

The background is set in css.

body {
  background: url(img/tile.gif) #e6e6e6;
  width: 100%;
  height: 100%;
}

This is in Chrome and Safari, so webkit. Works fine in Firefox.

tile img

Upvotes: 1

Views: 1768

Answers (2)

Axente Paul
Axente Paul

Reputation: 553

background: url(img/tile.gif) repeat #e6e6e6;

Upvotes: 1

Mateusz Rogulski
Mateusz Rogulski

Reputation: 7455

Try:

body{
 background-image: url(img/tile.gif);
 background-color: #e6e6e6;
 background-repeat: repeat-x;
}

Upvotes: 3

Related Questions