これはトリックを行う必要があります。
オプション1:
あなたがz-index
を使用しようとしているので、あなただけの.sourceView
にposition:absolute
を追加することができます。
body {
color: #000000;
font-family: Verdana,Arial,Helvetica,sans-serif;
font-size: 12px;
overflow: hidden; /* add this to stop any double scrollbars */
}
.sourceView {
height: 93%;
width: 100%;
z-index: 10;
position: absolute; /* add this */
}
オプション2:
html,body{
height:100%;
}
body {
color: #000000;
font-family: Verdana,Arial,Helvetica,sans-serif;
font-size: 12px;
overflow: hidden; /* add this to stop any double scrollbars */
}
はオプション3:
私はこっちのJavaScript/jQueryのソリューションを持っている:
Static container height combined with a dynamically sized container, possible?
http://jsfiddle.net/tw16/X5rWb/
htmlと本文の全角も確認してください。 html、body、frame {width:100%} –
私は友人がいますが、それは私のためにはできません。 – Anush
UあなたはeBayでiframeを読み込み、読み込んだときにどのように展開するのかを見てください。それは私がしたいことです。 – Anush