有一個網站的移動版本在 iPhone 上右側空間過大。該網站是 www.liveinhomecare.com之前已經修復了使用溢出:隱藏;但不再工作了。有人知道解決這個問題的方法嗎?順便說一句,我有可能導致此問題的文本全角橫幅,但使用上述修復糾正了此問題,但現在又回來了.......banner h1 { clear: both; font-weight: 400; margin: 0; text-rendering: optimizeLegibility; text-transform: uppercase !important; color: #ebebeb !important; font-size: 12px !important; font-size: 0.75rem !important; line-height: 1.25; margin-top: 0.250em; margin-bottom: 0em;}.banner h2{ margin-top: 0.750em !important; color: #ffffff !important;}.banner { position: relative; /* for child pseudo-element */ z-index: 0; margin: 0 -600rem; /* add back negative margin value */ padding: 0.25rem 600rem; background: #3887b7; color: #ffffff !important; padding-top: 50px; padding-bottom: 30px; margin-bottom: 40px; overflow: hidden;}.banner:before { content: ""; position: absolute; z-index: -1; /* behind parent */ top: 0; bottom: 0; /* subtract h2 padding (1.5rem) */ left: 598.5rem; right: 598.5rem; background: #3887b7; overflow: hidden;}
- 1 回答
- 0 關注
- 145 瀏覽
添加回答
舉報
0/150
提交
取消