Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

Why are there huge scrollbars (both horizontal and vertical) on a website I'm creating on Firefox for my mac, but Firefox on a PC works fine? www.danielcrumrine.com

  • 2 trả lời
  • 2 gặp vấn đề này
  • 13 lượt xem
  • Trả lời mới nhất được viết bởi dpcrummy

more options

I am having an issue with Firefox on a mac adding horizontal and vertical scrollbars to a site I'm creating, even when all the content should fit. Other browsers as well as Firefox on a PC are not affected.

In my index.html, I have the overflow value set at auto and the width and height set at specific pixel dimensions, not 100% - because that wouldn't add scroll bars at all (I want them when necessary, just not with tons of extra empty space). Any help would be very appreciated.

I am having an issue with Firefox on a mac adding horizontal and vertical scrollbars to a site I'm creating, even when all the content should fit. Other browsers as well as Firefox on a PC are not affected. In my index.html, I have the overflow value set at auto and the width and height set at specific pixel dimensions, not 100% - because that wouldn't add scroll bars at all (I want them when necessary, just not with tons of extra empty space). Any help would be very appreciated.

Tất cả các câu trả lời (2)

more options

The script uses 'width', '1280','height', '640', so make sure that you have enough screen estate to fit that content.

The noscript version has width="100%" height="100%"

more options

Thanks for the reply. I've tried all combinations of using 100% and 1280/640 for the script and noscript versions. Nothing seems to make a difference. On the script version, any time I put 100%, it cuts off my content on smaller monitors and doesn't put any scrollbars. I'm happy to have scroll bars when the content doens't fit, but right now, it's putting huge scrollbars regardless of the size of the browser and seems to be adding extra empty space beyond my content area. Here's a screenshot of what I'm talking about.