Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Learn More

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

Page still scrolls horizontally even though I set overflow-x to hidden

  • 1 відповідь
  • 4 мають цю проблему
  • 21 перегляд
  • Остання відповідь від cor-el

more options

I am building a website that has a javascript slider which lines all the photos up horizontally and slides them into view, so to ensure that the user can't see them I set the overflow-x: to hidden which works as long as there was nothing that needed to be scrolled vertically. As soon as the content extended below the window and it needed to scroll, I was able to scroll horizontally too.

This only happens in Firefox and I am using a macbook pro with a trackpad that allows me to scroll horizontally. A horizontal scroll bar doesn't actually appear.

Anyone with any code or a fix would be my hero!

I am building a website that has a javascript slider which lines all the photos up horizontally and slides them into view, so to ensure that the user can't see them I set the overflow-x: to hidden which works as long as there was nothing that needed to be scrolled vertically. As soon as the content extended below the window and it needed to scroll, I was able to scroll horizontally too. This only happens in Firefox and I am using a macbook pro with a trackpad that allows me to scroll horizontally. A horizontal scroll bar doesn't actually appear. Anyone with any code or a fix would be my hero!

Усі відповіді (1)

more options

A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.

The helpers at that forum are more knowledgeable about web development issues.
You need to register at the MozillaZine forum site in order to post at that forum.