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.
Androidブラウザのページにiframeがあります。私はiframeコードはこれに似ています:
<iframe src="somepage.html" style="height: 100px"></iframe>
高さを何に設定しても、iframeは常にその高さを拡張してsomepage.htmlのすべてのコンテンツをカバーします。これは、私のコンピューターの他のブラウザー、iPhone、またはブラックベリーデバイスでは発生しません。
誰かが何が起こっているのか知っていますか?
これを試してください<iframe width="320" height="194" src="http://example.com"></iframe>。リンクは定義された高さで適切に開き、ページの下部までスクロールします。リンクしている html ページに、iframe の高さが拡大する原因となっているものがある可能性があります。コードを確認するか、ここに投稿してください。
<iframe width="320" height="194" src="http://example.com"></iframe>