为什么 Opera 浏览器会裁剪一些图片?
现在,我网站的作品集部分已正确显示前三张图像。但在 Opera 浏览器中,它会“裁剪”其余图像的顶部和底部,只留下每个图像的中间部分来显示。所有其他浏览器都能正确显示作品集部分中的每张图片。我尝试过调整图片的边距和填充,但没有成功。如果有人能帮助我弄清楚发生了什么事,我一定会很感激! =] 单击此处访问该网站。
Right now, the portfolio section of my website has the top three images showing properly. But in the Opera browser, it "crops" the top and bottom of the rest of the images, leaving only the very middle of each of the images to show. All of the other browsers show every picture in the portfolio section properly. I've tried messing with the margin and padding on the pictures with no luck. If anyone can help me figure out what is going on, I would surely appreciate it! =] Click here to get to the website.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
尝试:
回答“为什么?”作为您问题的一部分,浏览器中似乎存在一个错误,该错误是由某些内联元素的不透明度触发的。将显示模式设置为阻止即可解决此问题。
另外:您使用的是哪个版本的 Opera?
Try:
To answer the "Why?" part of your question, it looks like there's a bug in the browser that's triggered by opacity on some inline elements. Setting the display mode to block will work around it.
Also: which version of Opera are you using?