How to give border to any element using css without adding border-width to the whole width of elemen

Posted by metal-gear-solid on Stack Overflow See other posts from Stack Overflow or by metal-gear-solid
Published on 2010-05-01T02:22:32Z Indexed on 2010/05/01 2:27 UTC
Read the original article Hit count: 227

Filed under:
|

How to give border to any element using css without adding border-width to the whole width of element?

LIke in photoshop we can give stroke- Inside , center and outside

alt text

I think default css border properties is center like center in photoshop, am i right?

I want to give border inside the box not outside. and don't want to include border width in box width.

© Stack Overflow or respective owner

Related posts about css

Related posts about XHTML