> 2011-11-17 18:40, Elli Vizcaino wrote: > >> I don't understand why the text-indent on one link isn't working >> while it's working on the others. The fan page in question: >> http://e7flux.com/facebook/htlm/ - the link w the HTML5 icon in background >> shows the red text link on top even with text-indent set to -999em while > > The text-indent property does not apply to inline elements, so you would need > to > add display: block in this approach. But the whole approach looks very odd, > and > I don't see what you are aiming at. > > If you want to have the link there, why not just make it a small image, with > an > appropriate alt text? > > Yucca
Forgot to add that I also began to think placing the image in the background as opposed to an inline element would be more semantic/accessible. I think I might have to revert to just using an inline image (it wasn't originally contained in an li) but I would still love to know what text-indent isn't behaving right when the link has been set to display block. Elli Vizcaino Creating meaningful connections and compelling experiences through the art & beauty of design. http://www.e7flux.com ______________________________________________________________________ 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/
