Welcome visitor
* Login
* Register
It is currently May 21st, 2019, 12:34 am
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  iframe in full
PostPosted: April 22nd, 2009, 2:36 am 
User avatar

Posts: 71
hi, i would like to have an iframe the full size of the screen. For this i have two questions:

a) how to make it full size not knowing the screen or browser resolution


b) how to remove the margin around the iframe

this is what i have so far, and is not what i want, is not full height and has those margins around the iframe.

<iframe src="http://www.websites.com" style="width: 100%; height: 100%; " frameborder="0"></iframe>


c) also, if possible, i would like to hide the default main vertical scrollbar, thanks.


Top
 Profile  
 
  Re: iframe in full
PostPosted: April 22nd, 2009, 3:04 am 
User avatar

Posts: 136
<style type="text/css">
    *{padding: 0px; margin: 0px}
    body, html{height: 100%; overflow: hidden}
</style>

<iframe src="http://www.yoursite.com" style="width: 100%; height: 100%; margin: 0px; padding: 0px" frameborder="0"></iframe>


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 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