The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › How to make an element "break out" of the width of its parent
I have content area that I would like to be fairly narrow. However there are some elements that I would like to make a bit more wide (like a blockquote).
Is there a good/semantic way to do this. I’m open to jQuery trickery too if I need to
As long as the parent has overflow:visible, it’s not too difficult.
Wrap the stuff (like that blockquote) in a div, and give that div some negative margin-left.
Alternatively, you could something like this
Pauli_D I think you nailed it. I’m going to go w/ that approach :)