<div style="background-image:url(http://www.jacknilan.com/spinner.jpg); background-repeat:no-repeat; width:200px; height:200px;">
Note : You have to use background-repeat with this
|Sets the background properties for an object
|background-color||hex-rgb-name or transparent||Sets the background color of an element|
|Sets whether a background image is fixed or scrolls with the rest of the page|
|background-image||url||Sets an image as the background
|Sets the starting position of a background image
|Sets if / how a background image will be repeated|
Below is a sample table with some of these commands used. Note I had to use the url function for the back-ground image but I could just have set my background in the normal way. right mouse click and view source to see code.
Below is an example of how I could set a border by setting the background for a paragraph.