Can I position an image inside a div when it is not enclosed within the tag? What I’m asking is, if I had an image not in a div, could I use something like relative positioning to position it inside the div on the screen? (It would still be outside the div in the HTML).
Share
Yes, this work with relative or absolute positioning:
http://jsfiddle.net/5H9QT/