[TYPO3-content-rendering] GTMENU problem with IE7's zoom function
Torsten Schrade
schrade at lineara.de
Thu Nov 9 22:11:46 CET 2006
Stefan Beylen schrieb:
> Hello folks,
>
> When using GTMENU in IE7 and use the zoom function the T of the menu
> (=the Text) appears...
>
> The problem is that IE7 on zoom ignores the style
> {width:1px;height:1px;overflow:hidden} of the span tag that surrounds
> and hides the text...
>
> has anybody got an idea how to fix that? i could use {display:none} but
> the problem here would be that some screenreaders ignore hidden elements
> on reading...
>
> Thanks for help
Hi Stefan,
how about using text-indent on the spans:
SPAN
{display:block;width:1px;height:1px;overflow:hidden;text-indent:-9999px;}
I've only had a quick glance on this but it seems to solve the problem
in IE 7 and doesn't harm the others.
Greets,
Torsten
More information about the TYPO3-project-content-rendering
mailing list