sisamiscolf
New Member
I'm working on a site and I need a hover effect for an image,this is the code I use:\[code\]<img src="http://stackoverflow.com/questions/13844579/images/asterix.png" alt="info" title="info" /><div id="hover">Informatie bij hover</div>/* INFORMATION HOVER */#hover { display: none;}img:hover + #hover { display: inline; background-color: rgba(0, 0, 0, 0.5); color: #ffffff; padding: 3px;}\[/code\]This works, but what I get is this: http://i47.tinypic.com/xnw75u.pngWhat I would like to get is this: http://i47.tinypic.com/awdfm8.pngAnyone an idea for this?