Re: where is overflow:none ?

> [Original Message]
> From: Andrew Fedoniouk <>
> PS: If somebody can explain me the reason why they cannot
> be negative I'll appreciate a lot.
> Example when they could help is here:
> ( .vscrollbar { padding:-1px; } )

Well first off, you allow negative padding, you are going to
get content overflowing the containing box even when the
overflow property isn't set to cause that.  In general that will
be a bad thing.  Judging by your example, it looks like you
are trying to cause the box size to include the border and
padding.  If that's your intent, then 'box-sizing' [1] should do
the trick:  (.vscrollbar {box-sizing:border-box} )

[1] <>

Received on Monday, 17 May 2004 23:20:43 UTC