> As the image is not content, why don't you simply set it as background
> centered on the link?
> Add to your link style:
> background:url(icon_favorites.gif) top center no-repeat #fff;
> And all is fine.
Because I want to use a different img for the hover effect as background for
the icon and not to have a certain width for the link ,at the same time . I
could do that if I had two images one with the icon and one with the icon
and its background but that wouldn't get bigger as the a gets bigger.
See what I mean here (I used <br /> after each image:
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/