0
Where’s the bug here? I’d like the image to appear inside that box I created.
box http://files.saichorao.com.br/200000158-545b055540/Teste_leandro.png
0
Where’s the bug here? I’d like the image to appear inside that box I created.
box http://files.saichorao.com.br/200000158-545b055540/Teste_leandro.png
1
I’m not sure the box you set up had that goal
But there are some errors in the code HTML
that you went through comment, unopened tags and the source image in div(?)
The right would be something like:
<div class="box_escudo"> <div class="escudo" ><img src="http://files.saichorao.com.br/200000156-3b01b3c582/testeimagem.jpg"/> </div></div>
0
You can pass a path from the server directories to the image or directly to the image URL, for example:
Way in the HD:
<img src="C:/imagem.jpeg" alt="imagem" />
URL of the internet:
<img src="http://www.w3schools.com/tags/smiley.gif" alt="Smiley" />
0
Solved... When I created the css box, I left it blank, and the correct thing was to put the link there.
.escudo
{ width:128px; height:128px; background: url("http://files.saichorao.com.br/200000156-3b01b3c582/testeimagem.jpg") center no-repeat;}
Browser other questions tagged javascript html
You are not signed in. Login or sign up in order to post.
What appears on the console?
– MarceloBoni
Sorry, console where? The code wouldn’t be that <div class="box_escudo" </div> <div class=""shield" files.saichorao.com.br/200000156-3b01b3c582/testeimagem.jpg" </div>
– Leandro Santos Oliveira