Log in

View Full Version : Background in Dreamweaver.


fabby2128
Feb 21, 2009, 11:13 PM
Hi!

I did a background on illustrator ans can not put it as a background on my page on dreamwaver...
The background is saved as jpeg
Help
Thanks
Fabby

wadeofalltrades
Oct 16, 2009, 06:58 PM
I will copy and paste code that you can look at to understand for yourself. First make an image folder and place your jpg image their. Then using div tags place the image a background like so...

<div style="background-image:url(images/something.jpg); background-repeat:no-repeat; width:300px; height:200px; background-color:#CCCCFF">

Good luck with this!

</div>


Once you copy and paste this to your page you will see the image. But look to see the SIZE of the image and make the div width and height to that images size otherwise it will not display the entire image.

Good luck