I have a tracking pixel that is unfortunately causing a small white bar at the bottom of my footer. What is the best way to hide the pixel?
I was thinking of putting it (and my other pixels) in a position: absolute
div, which hides the bar properly but I'm not sure if that will prevent the pixel from working on some browsers.
From google Support:
<img src="TRACKING-PIXEL-URL-GOES-HERE" style="position:absolute; visibility:hidden">
<img src="TRACKING-PIXEL-URL-GOES-HERE" style="display:none">
<img src="TRACKING-PIXEL-URL-GOES-HERE" width="0" height="0">
You could give it a display: none
CSS declaration or alternatively you could give the footer a negative bottom margin value margin-bottom: -1px
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With