Cross-browser method to fit a child div to its parent’s width The solution to fit child div to it’s parent is to simply not declare width: 100%.…