drhwb470572 2018-07-12 21:41
浏览 113

页脚后额外1px白线?

Hello !

I'm running a blog, using a theme I customized myself, but I facing a weird issue on some pages of it. Homepage doesn't look affected, neither do regular pages. However, category pages are impacted by the issue.

My blog is here : http://www.salutparis.fr/decouvrir (it's a category page)

Screenshot of the footer (i placed the image over a gray background in photoshop so you can spot it easily) : enter image description here

It seems actually happening only on category pages, you can reproduce it on different browsers (tried on desktop and mobile Chrome, Edge...).

With my limited CSS knowledge, I just can't pinpoint the issue. There is no extra margin here, no extra border, nothing. Actually hiding the whole footer div with display: none and changing the body's background color to black still shows this extra 1px white line, after the body ! Is this a browser bug ? (probably not)

Any smart idea on this issue ?!

  • 写回答

1条回答 默认 最新

  • douyou7878 2018-07-12 22:47
    关注

    after searching for a long time i found your issue, you have a div with a class screen-reader-text which is positioned absolute with a height of 1px, that is the reason for your line at the bottom, i am not sure what you use it for, i just tried display:none; and it works. Hope you can fix it.

    评论

报告相同问题?

悬赏问题

  • ¥100 set_link_state
  • ¥15 虚幻5 UE美术毛发渲染
  • ¥15 CVRP 图论 物流运输优化
  • ¥15 Tableau online 嵌入ppt失败
  • ¥100 支付宝网页转账系统不识别账号
  • ¥15 基于单片机的靶位控制系统
  • ¥15 真我手机蓝牙传输进度消息被关闭了,怎么打开?(关键词-消息通知)
  • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
  • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
  • ¥15 手机接入宽带网线,如何释放宽带全部速度