The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS image border Re: image border


Easiest fix to make border go equally outside the wrapper is to give as much negative margin as you have border. `border-width: 2px; margin: -2px;`

Also giving image a width to reduce it’s size would work.