Home › Forums › CSS › How to move background-image code from .css file to .html file? › Reply To: How to move background-image code from .css file to .html file?
February 22, 2016 at 8:37 am
#238285
Participant
I think you’d have to inline some of the other background properties for that as well. That particular one would be background-repeat: no-repeat
. You could do a shorthand version by the way :
style="background: url(img/item.png) 482px -2px no-repeat;"
Note that the child element isn’t actually positioned inside the resource_select
div until that has been given position: relative
. At the moment it’s position will be related to body
.