Hi
The off-left technique [1] often comes with a width set.
Does anyone remember the reason for this width? IE5-Mac?
.off-left {
position: absolute;
left: -999px;
width: 990px; /**/
}
or
.hide{
position:absolute;
top:0;
left:-4000px;
width:1px; /**/
}
.show{
position:relative;
top:0;
lef
Ingo Chao schrieb:
> Hi
>
> The off-left technique [1] often comes with a width set.
>
> Does anyone remember the reason for this width? IE5-Mac?
>
>
> .off-left {
>
> position: absolute;
>
> left: -999px;
>
> width: 990px; /**/
Because otherwise the hidden element could possibly extend in
Rainer Wagener wrote:
> Ingo Chao schrieb:
>> The off-left technique [1] often comes with a width set.
>> Does anyone remember the reason for this width? IE5-Mac?
> Because otherwise the hidden element could possibly extend into the
> viewport. 'overflow:hidden' could also be added to prevent thi
Rainer Wagener wrote:
> Ingo Chao schrieb:
>> The off-left technique [1] often comes with a width set.
>> Does anyone remember the reason for this width? IE5-Mac?
>
> Because otherwise the hidden element could possibly extend into the
> viewport. 'overflow:hidden' could also be added to prevent