Angular 有角度的Iframe
我只是尝试在我的angular应用程序中包含一个iframe。 但是Iframe看起来非常小,就像在这个例子中: 如何在整个页面上实现iframe 代码:Angular 有角度的Iframe,angular,iframe,Angular,Iframe,我只是尝试在我的angular应用程序中包含一个iframe。 但是Iframe看起来非常小,就像在这个例子中: 如何在整个页面上实现iframe 代码: 这是因为您的iframe设置为使用100%高度,但html和body元素具有未定义的高度。找到父HTML和BODY标记,并将高度设置为100%。这将解决您的问题 <iframe src="here is the link" style="border:0px #ffffff none;"
这是因为您的
iframe
设置为使用100%高度,但html和body元素具有未定义的高度。找到父HTML
和BODY
标记,并将高度设置为100%。这将解决您的问题
<iframe src="here is the link" style="border:0px #ffffff none;"
name="name" scrolling="no" frameborder="0"
marginheight="0px" margin- width="0px" height="100%" width="100%" allowfullscreen>
</iframe>