<html><head><title>frame</title> <style type="text/css">#a{ border:1px solid red; margin-left:100px;}#a iframe{ width:100%; height:100%; }</style></head><body><div id="a"> <iframe> </iframe></div></body></html>