Forums

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

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

#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.