Home > other >  Image overflows outside its container on certain actions (Firefox)
Image overflows outside its container on certain actions (Firefox)

Time:01-18

I'm using Firefox and I have noticed a simple problem that when I'm using a image slider sometimes images overflow out of their container to the top. But it's only happening when I'm using Firefox on Chrome everything works fine, any ideas?

enter image description here

I have tried adding overflow:hidden, but it didn't help in this case.

CodePudding user response:

If this is only happening on certain browsers it might be because you haven't done a reset on your CSS values.


You might want to check out this post and see if you're facing the same issues. If so you could add a reset.css file to your project to fix the problems. For more information, please check out CSS Reset.

  • Related