Is it possible to make a <div> element contain a background image, and if so, how would I go about doing this?
<div>
You mean this?
<style type="text/css"> .bgimg { background-image: url('../images/divbg.png'); } </style> ... <div class="bgimg"> div with background </div>
1.4m articles
1.4m replys
5 comments
57.0k users