When the linkedin login is successful, it's creating an iframe which causes the horizontal scrolling in my website. The part of the iframe code look like this.
<iframe frameborder="0" name="easyXDM_IN_Lib_default4736_provider" id="easyXDM_IN_Lib_default4736_provider" style="position: absolute; top: -2000px;" src="https://api.linkedin.com/uas/js/xdrpc.html?v=0.0.1132-RC6.9544-1337#xdm_e=http%3A%2F%2Fwww.example.com&xdm_c=default4736&xdm_p=1&mode=cors"></iframe>
How do I prevent this ?
Srikanth
- Log in to post comments
Hi Srikanth,
This normally isn't an issue, but is likely being caused by another CSS style on your page. Do you have other iframes on the page? If not, you could do something like the following:
iframe {
display: none;
}
If that doesn't work, try visibility: hidden potentially as well. If you have other iframes on the page, that solution won't work without a bit of work, so I would suggest providing me a URL to your site so I can test myself and provide an alternate solution.
-Jeremy