height auto iframe css code example Example: set iframe height and width #IFRAME_ID { width: 100%!important; height: 100%!important; }