X
點擊此處開啟此網站的行動版。

技術支援討論區

Firefox showing an overflow scrollbar when there is no overflow

已張貼

Here is a fiddle showing the problem: https://jsfiddle.net/hefczx3a/12/

Even though all the elements are the same dimension with no margins/padding. Firefox displays scrollbars... On Chrome it is displayed as intended, covering the viewport without any scrollbars.

Is this is Firefox bug?

Here is a fiddle showing the problem: https://jsfiddle.net/hefczx3a/12/ Even though all the elements are the same dimension with no margins/padding. Firefox displays scrollbars... On Chrome it is displayed as intended, covering the viewport without any scrollbars. Is this is Firefox bug?

被選擇的解決方法

Okey... changing the <canvas> element display property from 'inline' to 'block' solved the problem. But why?

從原來的回覆中察看解決方案 0
引用

選擇的解決方法

Okey... changing the <canvas> element display property from 'inline' to 'block' solved the problem. But why?

Okey... changing the <canvas> element display property from 'inline' to 'block' solved the problem. But why?
這篇文章有幫助嗎?
引用
問個問題

如果您還沒有帳號,您必須先 登入您的帳號 來回覆文章。請 開始一個新問題