モバイルでタグが画面の左側からはみ出す
Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
このサイトをモバイル デバイス用に動作させようとしています: http://whitehallrow.com/
スライドショーの下のテキスト本文は Blackberry で正常に動作していますが、青いリボンの下のすべての段落が画面の左側からはみ出しています。margins、padding、width:100%、float、text-align など、CSS でさまざまなことを試しましたが、何も少しも変更されていません。
どうすればこれを修正できますか?
このコードから幅を完全に削除します(CSSの340行目あたりだと思います)
.homeblurb { width: 480px; /* <- remove this value */ float: right; padding-right: 16px; }
width: 480pxその上に修正pがあり、右側にパディングがあるため、テキストが画面からはみ出します。幅をまったく設定しないようにしてください。クロムでテストしたところ、動作します。
width: 480px
p