Jump to content

image and CSS


dsci2000

Recommended Posts

Hi all,on my site I'm tring to create a div tag width a background image.The code is the following<div id="idVoice">.....</div>in the css#idVoice{background-image:url('images/myimage.png');}The site run correctly but the image is not shown.Someone can help me?thanks to all.

Link to comment
Share on other sites

There shouldn't be quotation marks around the file path in the URL:

background-image:url(images/myimage.png);

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...