4
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Safariでインライン要素に謎の空白ができる

Posted at

safariで謎の空白ができた。

こんなの↓
スクリーンショット 0028-05-11 10.09.03.png

HTML↓

filename
<p>
おいっす〜<strong><ストロング>うっすうっすちーっす<ストログ></strong>おいっす〜
</p>

margin:0;
padding:0;にしても治らなくて、なんだかな だったんだけど、font-familyが悪さしてたみたい。

font-familyに指定してたOsakaをなくしたら治った。

問題→Safariでspan,strong,b,aを使うと謎の空白ができる。
解決方法→font-family:Osaka を使わない。

4
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?