[TYPO3] TMENU hide (title-)text, not the link
Tim Riemenschneider
lists-05 at tim-riemenschneider.de
Wed May 24 11:40:37 CEST 2006
Hans van Dijk schrieb:
> I have the following problem:
> I have a TMENU, which sets:
> allWrap = <div class="mainmenuitem{elementUid}">|</div>
> In the CSS I have images with different colors and TEXT IN THE IMAGE.
>
> The result is:
> <div class="mainmenuitem108"><a href="index.php?id=108">Pagtitletext</
> a></div>
>
> What I want is:
> <div class="mainmenuitem108"><a href="index.php?id=108"></a></div>
>
> Does anybody know how to fix this?
> Thank you for your answer...
>
> Regards, Hans
>
>
my suggestion:
use a "text-indent: -999999px" in your CSS. This should hide the Text in
CSS-capable browsers (actually moving it off the screen), but in
not-CSS-capable browsers (that therefor not display your images) it is
still there.
cu
Tim
More information about the TYPO3-english
mailing list