Question : Why isn't my external css background image displayed?

Why isn't my external css background image displayed?

This is the css deklaration:

body {background-image:url('images/backgroundpattern.gif');}

It's not visible in any web browser: IE8, Mozilla Firefox etc.

And this is my link in the html document:

1:
<link rel="stylesheet" type="text/css" href="css/stylesheet4_Bokning.css" media="all">
   

The folder "images" is in the same level as "css"-folder.

Answer : Why isn't my external css background image displayed?

Ok,

The background image you sent through has a .gif extension, but is in fact a .jpg file.  This is causing a problem in IE.

Rename your .gif file to .jpg and change it in your style sheet and all will work as expected.

Random Solutions  
 
programming4us programming4us