View Full Version : Code for adding image on DIV?


Mikenogo
08-10-2006, 09:26 PM
Well i tried using the code <img src="URL">
but it does not seem to work.

any suggestions?
thanks

Arwen
08-10-2006, 09:45 PM
<img src="URL"> should work. Can you show us the code?

Mikenogo
08-10-2006, 10:34 PM
<div id=layer1 style="position:absolute; top:414px; left:200px; width:621px; height:513px; z-index:1; padding:5px; border: #121312 2px solid; background-color:#121312; background-image:url(yourfilename.gif); layer-background-image:url(yourfilename.gif);">
<p align="left"><font color="#CCCCCC" size="1" face="Verdana, Arial, Helvetica, sans-serif"><img src="Clantemplate-2_32.gif">blah blah blah</p>
</div>

Arwen
08-10-2006, 10:47 PM
It worked fine for me. Are you sure you uploaded the image to your server and your image path is right? Can you show your page?

Mikenogo
08-10-2006, 11:14 PM
ah nvm it worked. i just forgot to upload the image :P