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 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:22 GMT