ラッパー要素のパディングを削除するために負のマージンを使用することは良い習慣ですか?
たとえば、次のコードのどれを使用するのが適切ですか?
<div style="padding: 5px;">
Shortened width string
<div style="margin: 0 -5px;">Full width string</div>
Shortened width string
</div>
また
<div>
<div style="padding: 5px;">Shortened width string</div>
<div>Full width string</div>
<div style="padding: 5px;">Shortened width string</div>
</div>