<div id="narrow">
<div id="wide">
</div>
</div>
In my web layout, there is a div with the ID of "narrow" containing another div with the ID of "wide", which has a wider width than its parent.
The div with the ID "narrow" can have a variable width, while the div with the ID "wide" has a fixed width.
I am trying to figure out how to center the "wide" div inside the "narrow" div so that when "narrow" has overflow hidden, both the left and right sides of the "wide" div are trimmed. Any suggestions on how to achieve this?