[TYPO3-content-rendering] Graphical TMENU - tying up loose ends
JoH
info at cybercraft.de
Tue Jan 10 12:34:29 CET 2006
>>> /* display: none; --- removed because of IE */
>> hm, why?
>
> the comment was wrong and maybe it will work using:
>
> .hidden {
> display:none;
> }
>
> as in this case it´s not beccessary using the below technique.
>
> .hidden {
> /* display: none; --- removed because of IE */
> position:absolute;
> left:-20000px;
> }
>
> i use this technique because of screenreaders. many screenreaders
> don´t read content which is "display: none".
>
> but in this case it mostly doesn´t matter.
Since I am not sure wether images in blocks with display:none are loaded
maybe we should use this instead:
.hidden {
position:absolute;
display:block;
width:1px;
height:1px;
overflow:hidden;
}
.hidden img {
margin-left:1px;
margin-top:1px;
}
Joey
--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your knob sometimes!)
Dieter Nuhr, German comedian
http://www.cybercraft.de
More information about the TYPO3-project-content-rendering
mailing list