views:

40

answers:

3

I am using in my asp.net page and tried to set the iframe height 100%, But its does not work.

A: 

It is probably bounded by its parent's height. Set all ancestors to 100%, including the body and html tags if you want it to be the height of the window.

BC
It snot working please tried it in ur page...i am changed all other parent tags style="height:100%".
Ayyappan.Anbalagan
A: 

How do you specify the height? Try to make it like this:

<iframe src="..." style="height:100%">
BlaXpirit
It snot working please tried it in ur page...
Ayyappan.Anbalagan
A: 

html, body, div, iframe { margin:0; padding:0; height:100%; } iframe { display:block; width:100%; border:none; }

Ayyappan.Anbalagan