[css-d] off-left technique and width

2008-05-22 Thread Ingo Chao
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

Re: [css-d] off-left technique and width

2008-05-22 Thread Rainer Wagener
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

Re: [css-d] off-left technique and width

2008-05-22 Thread Ingo Chao
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

Re: [css-d] off-left technique and width

2008-05-22 Thread David Jones
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