0

I created a webpage that uses two images as a background - one for the top and one for the bottom. Chrome, Safari and Firefox display the page without issue but, in IE the background at the bottom doesn't show. Here is the code I'm using:

html {
  font:100%;
  background:url(../images/test8-300.jpg) repeat-x, url(../images/Html-background-Bottom2.png) no-repeat bottom;
  background-color:#d7d7d7;
}

If you need to have a look to understand better, this is the address: doggiestime.co.uk. At the bottom, you should be able to see some dogs.

4

2 に答える 2

1

試す

background:#fff repeat-x no-repeat bottom;
background-image:url(../images/test8-300.jpg), url(../images/Html-background-Bottom2.png);
于 2013-01-29T02:55:36.647 に答える
0

<body>背景画像をタグに設定する必要はありません<html>

body {
  font:100%;
  background:url(../images/test8-300.jpg) repeat-x, url(../images/Html-background-Bottom2.png) no-repeat bottom;
  background-color:#d7d7d7;
}
于 2013-01-29T03:22:25.503 に答える