problem in html? how do i make an iframe show its whole contents without having to scroll?

Meet

New member
this is my iframe tag: <iframe id="tray" src="ex.htm" onload="styler()" > </iframe >

this is its stylesheet:
#tray {
border: 0px;
height: auto;
width: 820px;
display: inline-block;
padding: 0px;
margin-top: 4px;
margin-left: 2px;
}

even if i set the height to auto, the computed height is 150px, and a scroll bar is shown, how do i make the iframe show all of its contents??
plss helpp...

PS: in the file ex.htm is a div of height 1000px. so technically i want the iframe's height to be 1000px
 
Back
Top