- From: Ian Hickson <ian@hixie.ch>
- Date: Wed, 18 Jun 2003 09:21:06 -0700 (PDT)
- To: Boris Zbarsky <bzbarsky@MIT.EDU>
- Cc: "www-style@w3.org" <www-style@w3.org>
On Tue, 17 Jun 2003, Boris Zbarsky wrote:
>
> some of the text will end up being painted completely outside the border
> (in the top left and bottom left corners of the box).
>
> Should it be the responsibility of the content author to provide
> sufficient padding for the selected border-radius? Or the box model
> handle this automatically somehow?
There's no difference between a rounded border and a square one.
<div>
<p> mowmow </p>
</div>
div { border: solid; height: 2em; width: 2em; }
p { margin: -0.5em; }
It's overflow. The 'overflow' property decides how overflow is rendered.
The 'overflow-clip' property will decide exactly how the overflow is
clipped if it is clipped ('overflow: hidden').
--
Ian Hickson )\._.,--....,'``. fL
"meow" /, _.. \ _\ ;`._ ,.
http://index.hixie.ch/ `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 18 June 2003 12:18:13 UTC