Remove horizontal scroll bar in CSS

后端 未结 3 1662
孤街浪徒
孤街浪徒 2021-02-08 16:18

I am using a facebook like button on my web page. I need it to align at the right side of the page. But there is a horizontal scroll bar displaying.

Please see the fidd

3条回答
  •  囚心锁ツ
    2021-02-08 17:09

    to disable scroll, try something like;

    .your_div_class{
        overflow-x: hidden;
        overflow-y: scroll;
    }
    

提交回复
热议问题