Home › Forums › CSS › [Solved] responsive video leaves margins when I do max video width/height › Reply To: [Solved] responsive video leaves margins when I do max video width/height
October 15, 2015 at 7:58 am
#209753
Beverleyh
Participant
The CSS – max-width and max-height is still set on ‘.videoWrapper iframe’ (remove those declarations)
Try putting another wrapper div around ‘.videoWrapper’ and set a max-width on the wrapper div instead.
A max-height shouldn’t be necessary because the intrinsic width ratio will naturally limit the height.