I have a logo div that I want to use my logo image as the background for, such as:
.logo {
background: #FFF url(images/logo.jpg);
}
However, on a settings page in my script, I would like to have a text input field to specify what the image URL is for the background image.
How can I set the background image for this div as the inputted image URL without having to do:
<div><img src="/images/logo.jpg" /></div>
(The script is written in PHP)