You must have some additional markup/styling applied.
That looks like a shadow, not a border.
On a default notice, that addition to EXTRA.css is all that is required to remove the border so it must be related to your style.
I would need to see the page/CSS to determine where it is coming from.