background image in div doesn't appear...

liunx

Guest
I got this code:


<div style="background-image: url("imgs/video.jpg"); width: 740px; height:228px; padding-bottom: 6px;">
Hello Wordl
</p>
</div>


For some reason I can't get to see the image I'm calling for ("imgs/video.jpg"). why's that?

Thanks!when using inline styles avoid using double quotes around file locations:

<div style="background-image: url('imgs/video.jpg'); width: 740px; height:228px; padding-bottom: 6px;">
Hello Wordl
</p>
</div>!

Maybe you can also hel me with how can I get a vertical center of the scroller?

Thanks again!
 
Back
Top