Google remarketing tag - iframe height issue

css, iframe

Solution

In my sites i use this code

iframe[name='google_conversion_frame'] { 
    height: 0 !important;
    width: 0 !important; 
    line-height: 0 !important; 
    font-size: 0 !important;
    margin-top: -13px;
    float: left;
}

Floating the iframe allows you to use negative margin equal to the height of the body inside the iframe.

Problem

I've noticed that Google's remarketing code inserts an iframe at the bottom of my page. The problem is that the iframe messes up my layout (it's 13px high and leaves a blank white vertical space at the bottom). I've tried to hide it with css but it's still visible in IE9: ``` iframe[name='google_conversion_frame'] { height: 0 !important; line-height: 0 !important; font-size: 0 !important; } ``` Therefore I've got two questions: a) how to hide this iframe in IE9 b) most importantly - is it safe or can it somehow affect the functionality of this script?

Original source

Related problems