CSS for background elements?

Paul

New member
Is there any way to define a class for a div (in CSS) so that everything in between the <div> tags goes in the background? Something like this:

<div class="bg"><img src="img.jpg"></div>
 
Back
Top