I've decided to set the picture on the background, and do this:

body{ background-image: url (<img src=img/1252508063_8679789_8235865_7148521_2068748_1053759_371970_268.gif); } 

But I have not a picture, but a white background, please tell me what to do.

  • There is such a program called Dremweaver. And there are no problems with the address of the picture ... :-) - alex_90

1 answer 1

And so?

 body{ background-image: url(img/1252508063_8679789_8235865_7148521_2068748_1053759_371970_268.gif); } 

UPD: ha, funny, did not immediately realize. Space bar remove url [without space] (

need url (instead of url (

  • So also tried it =) - k0mar
  • Well, if it does not work like that, then check the presence of a picture on the server. - Yoharny Babay
  • So you need to check the path to the picture. If (img / 1252508063_8679789_8235865_7148521_2068748_1053759_371970_268.gif), then the picture should be in the next folder with your page. And if (/img/1252508063_8679789_8235865_7148521_2068748_1053759_371970_268.gif), then the folder with the picture should be in the root of the site ( site / img / ... ). It would be even better to give a link to your page. - invincible
  • It is necessary to check the path to the background image relative to the page (if the style is defined in the style tag) or the css-file connected in the link tag. IE can block the loading of background images if the file is hosted not on the server, but in the file system. - barber
  • Well, first of all, I already wrote above about relative paths. And secondly, img / 1252508063_8679789_8235865_7148521_2068748_1053759_371970_268.gif, well, this is hardly the path in the file system. - invincible