javascript:
function dyniframesize(down) {
var pTar = null;
if (document.getElementById) {
pTar = document.getElementById(down);
}
else {
eval('pTar = ' + down + ';');
}
if (pTar && !window.opera) {
//begin resizing iframe
pTar.style.display = "block"
if (pTar.contentDocument && pTar.contentDocument.body.offsetHeight) {
//ns6 syntax
pTar.height = pTar.contentDocument.body.offsetHeight + 50;
pTar.width = pTar.contentDocument.body.scrollWidth + 50;
}
else if (pTar.Document && pTar.Document.body.scrollHeight) {
//ie5+ syntax
pTar.height = pTar.Document.body.scrollHeight + 50;
pTar.width = pTar.Document.body.scrollWidth + 50;
}
}
//ifm.document.createStyleSheet("style/Common.css");
}
html:
问题都问不清楚人家怎么帮你啊?
实在不行的话直接做个效果图或者截图或者贴代码。
是不是 scroll属性设为auto啊、