Background-image:url not working

tedrick

New Member
I am trying to add a background image to a link via the background-image:url like so \[code\] <a href="http://stackoverflow.com/questions/14612688/#" style="width:300px; height:125px; background-image:url('http://dev.nclexreview.net/media/3549/livereviewsignin.png')"></a>\[/code\]I have tried inline CSS as well as external CSS. It works perfectly in a div, but not in an a. I have tried just using background:url also and had no luck with that either. This is a sprite image, and I want to change the position based on a mouse over, but I can't even get the image to appear in the first place. I would really appreciate some assistance :)
 
Back
Top