Forums

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

Home Forums CSS Negative margins on nested elements Reply To: Negative margins on nested elements

#238820
Max Fenton
Participant

Oh, hey. The codepen above helped a bunch! I was running into a very similar problem and it turns out I was trying to expand the width (with negative margins) of a <figure> and forgot that a reset.css had added a max-width: 100% to that element. Whoops! max-width: none solved it.