function fixBodyHeight() {
            var css = 'body::before, body::after{';
            css += 'content: ".";';
            css += 'height: 0;';
            css += 'margin: 0;';
            css += 'overflow: hidden;';
            css += 'visibility: hidden;';
            css += 'display: block;';
            css += 'clear: both;';
            css += '}';
            css += 'body{';
            css += 'margin: 0 !important;';
            css += 'display: inline-block !important;';
            css += 'float: left !important;';
            css += 'width: 100% !important;';
            css += 'box-sizing: border-box !important;';
            css += '}';
            
            var head = document.querySelector('head');
            var styleEl = document.createElement('style');
            styleEl.appendChild(document.createTextNode(css));
            head.appendChild(styleEl);
        }
/**
         * Fix body margin and floats.
         */
Fix body margin and floats.
Fix body margin and floats .
function fixBodyHeight() {
            var css = 'body::before, body::after{';
            css += 'content: ".";';
            css += 'height: 0;';
            css += 'margin: 0;';
            css += 'overflow: hidden;';
            css += 'visibility: hidden;';
            css += 'display: block;';
            css += 'clear: both;';
            css += '}';
            css += 'body{';
            css += 'margin: 0 !important;';
            css += 'display: inline-block !important;';
            css += 'float: left !important;';
            css += 'width: 100% !important;';
            css += 'box-sizing: border-box !important;';
            css += '}';
            var head = document.querySelector('head');
            var styleEl = document.createElement('style');
            styleEl.appendChild(document.createTextNode(css));
            head.appendChild(styleEl);
        }
function fixBodyHeight ( ) { var css = 'body::before, body::after{' ; css += 'content: ".";' ; css += 'height: 0;' ; css += 'margin: 0;' ; css += 'overflow: hidden;' ; css += 'visibility: hidden;' ; css += 'display: block;' ; css += 'clear: both;' ; css += '}' ; css += 'body{' ; css += 'margin: 0 !important;' ; css += 'display: inline-block !important;' ; css += 'float: left !important;' ; css += 'width: 100% !important;' ; css += 'box-sizing: border-box !important;' ; css += '}' ; var head = document . querySelector ( 'head' ) ; var styleEl = document . createElement ( 'style' ) ; styleEl . appendChild ( document . createTextNode ( css ) ) ; head . appendChild ( styleEl ) ; }
Fix body margin and floats.
Fix body margin and floats .