Strange css not showing in firebug!

I am trying to show a background image. It isn’t appearing and when I check outthe div with firebug it only shows the width and height. I have the css on the page for the time being it will be moved off to an external sheet when I get it working. Why is this image not being shown (the url is fine) Thanks for any pointers


<style type="text/css">
#vehic  {background-image: url("/admin/project/bckig.jpg") no-repeat};
</style>

<div id="vehic" style="width:448px;height:340px;">


Try this:

#vehic  {[COLOR="Red"]background[/COLOR]: url("/admin/project/bckig.jpg") no-repeat}

When using background-image, you can only specify url(“/admin/project/bckig.jpg”), not “no-repeat”, because that’s done by background-repeat. The shorthand is just background: which I’ve used above, and is much simpler.

Also, I removed the semicolon at the end.

Thanks Ralph always get confused by background that clears it up, works great!