W3C home > Mailing lists > Public > www-style@w3.org > July 2010

Re: Border align

From: Christoph Päper <christoph.paeper@crissov.de>
Date: Tue, 13 Jul 2010 08:56:44 +0200
Message-Id: <5A99C929-525F-4C3D-B780-77BB5399A2E6@crissov.de>
To: www-style list <www-style@w3.org>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:29 GMT