Thin gray/black lines on web page viewed with iPad

后端 未结 11 2227
南旧
南旧 2020-12-13 22:07

We\'re finding the the iPad is displaying thin grey/black lines on our site. It seems to be some form of scaling-artefact on mobile Safari. I\'ve provided two snippets of

11条回答
  •  清歌不尽
    2020-12-13 22:30

    Adding this to the block above the line worked for me very well.

    margin-top:-1px; /* this overlap the blamed ghost line */
    padding-top:1px; /* this gave me my pixel back =) */
    

    if its happening to you in too many blocks you should create a class instead.

提交回复
热议问题