text-indent:-9999px; is not taking for the three links (the first three links in this div) associated with this “share this” plugin… (share, share-FB, share-TW…) how can I make this work please…
but the png problem is not caused by bg-image for the plugin (although that’s a png…) it’s caused by another png image on the page (which I have now included in my example…) I know it’s odd how I did the div for that and everything, but I couldn’t do bg-image for this png, IE6 would make it HUGE (I posted about that also here last week…) I have a no. of these “people” images that go on different pages… had to put them all in a div of same height and width as image to be on the safe side…
when I comment out this “person” image then the bg for the “share” buttons looks fine…
That doesn’t mean you can’t overwrite it though. There is not float style in the rule so if you simply add a rule to your stylesheet then it will cascade into it.
.at300bs { [B]float:left;[/B] }
also, not 100% sure what you mean by “the little icon in front of the text”… you mean the white cross before the FB icon? (css for all three, cross, FB, TW, are generated by widget… now if they have display:block; why doesn’t text-indent work???)
The facebook icon is in front of the text in a span that is display block. text-indent only works on the first line of text. It doesn’t work for all the lines of text after a line break. Otherwise if you said text-indent:10px then all the text would be indented and not just the first line.
The little icon in front of the text is set to display:block which moves the text to the next line and therefore text-indent isn’t working. Try floating the icon.
.at300bs { [B]float:left;[/B] }
oh man, that worked!! thank you very much.. (I wonder why FB link has that empty span, TW link doesn't have it.. my text is outside that span...)
thank you very much.......:-)
but I cannot overwrite what’s in this class, .at300bs
the entire class – and what’s in it – is generated by the widget…
also, not 100% sure what you mean by “the little icon in front of the text”… you mean the white cross before the FB icon? (css for all three, cross, FB, TW, are generated by widget… now if they have display:block; why doesn’t text-indent work???)
that class, .at300bs, is in widget46.css (which u can see in Firebug), but I have no access to modify this stylesheet (and my styles in my own css is overwritten by this widget46.css…)
in my own stylesheet, I have
#linksShare a {float:left; display:inline-block; background:url(‘links_share.jpg’) no-repeat; text-indent:-9999px; }