Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

How can I hide scrollbars in a web page?

  • 1 답장
  • 1 이 문제를 만남
  • 10 보기
  • 최종 답변자: Orlando S.

more options

Hello everybody, I was wondering if there's any way to hide both scrollbars in a DIV which would overflow.

I can achieve this in Chrome using the following:

-webkit-scrollbar {
   width: 0px;  /* remove scrollbar space */
   background: transparent;  /* optional: just make scrollbar invisible */

}

I need to do the same in Firefox but I don't know how to achieve the same result. I'm pretty sure there must be a way but don't know how. Could you please help?

Thank you Marco

Hello everybody, I was wondering if there's any way to hide both scrollbars in a DIV which would overflow. I can achieve this in Chrome using the following: ::-webkit-scrollbar { width: 0px; /* remove scrollbar space */ background: transparent; /* optional: just make scrollbar invisible */ } I need to do the same in Firefox but I don't know how to achieve the same result. I'm pretty sure there must be a way but don't know how. Could you please help? Thank you Marco

모든 댓글 (1)

more options

Use the following css:

overflow-x: hidden;