わからないこと
-chromeだと開発ツールで16px,safariだと17pxこの問題が解決出来ずに困っております。
html
1<ul class="globalnav-form"> 2<li><a href="/contact/">お問い合わせ</a></li> 3<li><a href="/agent/">販売代理店募集中</a></li> 4<li><a href="/dl/">資料請求はこちら</a></li> 5</ul>
css
1#gNavi .naviBox ul li { 2padding-right: 15px; 3float: left; 4position: relative; 5font-size: 16px !important; 6} 7layout.css:590.globalnav-wrap { 8font-size: 16px; 9/* display: flex; */ 10justify-content: space-between; 11} 12 13body { 14margin: 0; 15font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"; 16font-size: 1rem; 17font-weight: 400; 18line-height: 1.5; 19color: #212529; 20text-align: left; 21background-color: #fff; 22} 23body { 24height: 10000px; 25min-width: 1280px; 26color: #0e0e0e; 27font-size: 18px; 28line-height: 1.5; 29text-size-adjust: none; 30-webkit-text-size-adjust: none; 31background-color: #FFF; 32} 33 34body, table, input, textarea, select, option { 35font-family: Meiryo, "小塚ゴシック Pr6N", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", sans-serif; 36} 37body { 38font-size: 62.5%; 39}
phpが悪さをしているのか、ブラウザの仕様なのかどちらなんでしょうか?
回答1件
あなたの回答
tips
プレビュー