Angela French wrote:
It seems like it should be pretty simple, but my icon isn't showing
up:http://www.sbctc.edu/testEmailNEW.html , so I'm probably just overlooking
something simple. I've tested in IE 9, FF 18, and Opera 11, but no go.
Grateful for any help.
<style type="text/css">
a[href ^="mailto:"]
{
background-image:url('/imgs/layout/icon_emailTEST.jpg')0 0 no-repeat;
margin-right: 10px;
padding-left:20px;
line-height:13px;
height: 13px;
}
</style>
Part of the issue is that you are putting non-background-image rules
into a background-image-only property. Try removing "-image" After that
you may want to separate the closing paren and the following zero. I
have a similar example in a jsfiddle here: http://jsfiddle.net/2SrVv/
(separate background rules) and http://jsfiddle.net/2SrVv/2/ (combined
background rules)
Christian Z.
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/