Welcome visitor
* Login
* Register
It is currently May 20th, 2019, 6:40 pm
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 4 posts ] 
Author Message
  iframe height
PostPosted: June 3rd, 2009, 2:24 am 

Posts: 48
hi again, is there a way to have an iframe as tall as its content? thanks.


Top
 Profile  
 
  Re: iframe height
PostPosted: June 3rd, 2009, 2:36 am 

Posts: 61
something like,
style="height: 100%"
?


Top
 Profile  
 
  Re: iframe height
PostPosted: June 3rd, 2009, 3:10 am 

Posts: 48
thanks for the answer but it will make the iframe only as big as the browser window is and not as the document inside. any other options? thanks again.


Top
 Profile  
 
  Re: iframe height
PostPosted: June 3rd, 2009, 4:49 am 
User avatar

Posts: 81
onload="alert(event.srcElement.clientHeight);"

if you add this to the iframe tag it will only give you the height of the iframe element, so i dont think it is possible to do.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

FORUMS » Client Side » HTML


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron