Re: Border align

Colt Antonio Pini:
> 
> img {border: 1px solid #0f0;}
> 
> The inset border would “clip off” 2 px of my image, an outset would be added to the outside of the image, and center would clip 1px and add 1px to the outside.

You might be interested in the ‘box-sizing’ property, although it does not do exactly what you describe. <http://www.w3.org/TR/css3-ui/#box-sizing>

Received on Tuesday, 13 July 2010 06:57:18 UTC