Philippe,

This is within a container which has top:200px;bottom:150px; (or so)...



Thanks,

Tatham Oddie
Technical Director, Fuel Advance
www.fueladvance.com


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Philippe Wittenbergh
Sent: Tuesday, 21 June 2005 4:45 PM
To: [email protected]
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 has no height declared, the 100% will default 
to auto, and all the content will be visible.

what you probably want is setting some height in em/px/km/....
then your overflow:hidden will have some effect.

If I'm wrong, please provide a test case (url).

Philippe
---
Philippe Wittenbergh
<http://emps.l-c-n.com/>

******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************



******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to