My issue is with the <div>
that has a css rule for a background image.
HTML
<div class="myclass">Hello world</div>
CSS
.myclass
{
background-image: url('http://www.europe-trip.cz/icons/spinner.gif');
background-repeat: no-repeat;
background-position:left;
border: 1px red dotted;
}
Is there a way to align the background-image inside the div with the text?
P.S: I am unable to add another div
(or any other element) within the current div