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

Home Forums CSS [Solved] css negative padding Reply To: [Solved] css negative padding


There is a case for negative padding. I want an border framed around a div. This border is a styled image to create a frame design around the div. I need the container div to appear to be inside the parent div so the parent divs border frames it. I can’t use negative margins since the container div is above the parent div in the DOM. So negative padding would be great here.