I want to put image as background for my HTML5 project, but I can’t! How can I fix it?

Asked

Viewed 961 times

-1

inserir a descrição da imagem aqui It is set to div. And even then it does not work.

inserir a descrição da imagem aqui I tried to put in body{.. }, but I did not succeed either ): Somebody help me!!

  • With body you did so body { background-image: url('im/fundo.jpg') } ? if it does not appear is that the image path is wrong

  • Now, instead of posting an image, put the code, see why https://pt.meta.stackoverflow.com/questions/5483/manual-de-como-n%C3%83o-ask-questions/5485#5485

1 answer

0

Face your problem is simpler than you think.

Vc declared the class in css for a id, using #conteudo {}

inserir a descrição da imagem aqui

But in HTML you paste the style as a class and should be in <div id="Conteudo">

inserir a descrição da imagem aqui

Browser other questions tagged

You are not signed in. Login or sign up in order to post.