0
votes

I want to add a Follow Button of Twitter on my mean-stack web page. I use the following code:

https://jsbin.com/herikik/3/edit?html,output

  <iframe
    src="https://platform.twitter.com/widgets/follow_button.html?screen_name=Google&show_screen_name=false&show_count=false&size=l"
    title="Follow us on Twitter"
    width="80"
    height="30"
    style="border: 0; overflow: hidden;"></iframe>

In Chrome under Mac, it works well. However, in Chrome and Edge under Windows, it shows:

enter image description here

Does anyone know how to modify the code such that it shows well cross-browser?

1
Try adding scrolling="no" to the <iframe>.Brett DeWoody

1 Answers

-1
votes

Try adding scrolling="no" to the <iframe>.

<iframe
    src="https://platform.twitter.com/widgets/follow_button.html?screen_name=Google&show_screen_name=false&show_count=false&size=l"
    title="Follow us on Twitter"
    width="80"
    height="30"
    style="border: 0; overflow: hidden;"
    scrolling="no">
</iframe>