[WSG] Preventing scrolling

2005-06-21 Thread Tatham Oddie
Hi everyone, I currently have a problem something like this: div { width: 200px; height: 100%; overflow: hidden; } div Lots and lots of content which we never expect to fit in the box

Re: [WSG] Preventing scrolling

2005-06-21 Thread Philippe Wittenbergh
On 21 Jun 2005, at 3:04 pm, Tatham Oddie wrote: div { width: 200px; height: 100%; overflow: hidden; } height:100% - 100% of what ? if the parent container has no height declared, the 100% will default to auto, and all the

Re: [WSG] Preventing scrolling

2005-06-21 Thread Roberto Gorjão
I used once another div, with the same position and size, a greater z-index, no content and a background-color set to transparent. Roberto - Tatham Oddie wrote: Hi everyone, I currently have a problem something like this: div {

RE: [WSG] Preventing scrolling

2005-06-21 Thread Patrick Lauke
Tatham Oddie Lots and lots of content which we never expect to fit in the box and we just want to be cut off. However, we only want them to be able to see what ould fit in the box. So, we need to stop them from being able to click in the box and use their scroll wheel. Another way they

RE: [WSG] Preventing scrolling

2005-06-21 Thread Tatham Oddie
2005 4:45 PM To: wsg@webstandardsgroup.org Subject: Re: [WSG] Preventing scrolling On 21 Jun 2005, at 3:04 pm, Tatham Oddie wrote: div { width: 200px; height: 100%; overflow: hidden; } height:100% - 100% of what ? if the parent container

Re: [WSG] Preventing scrolling

2005-06-21 Thread Roberto Gorjão
Director, Fuel Advance www.fueladvance.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Patrick Lauke Sent: Tuesday, 21 June 2005 6:34 PM To: wsg@webstandardsgroup.org Subject: RE: [WSG] Preventing scrolling Tatham Oddie Lots and lots