Welcome visitor
* Login
* Register
It is currently January 24th, 2019, 10:40 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 inside a table
PostPosted: May 16th, 2009, 6:00 am 

Posts: 19
hi people,

im using an iframe inside a table but the problem is that it doesnt stretch the 100% on the screen, how should i do it?

<table style="width: 100%; height: 100%"><tr >
<td><iframe style="width: 100%; height: 100%" src="http://www.google.com"></iframe></td>
</tr></table>


Top
 Profile  
 
  Re: iframe inside a table
PostPosted: May 16th, 2009, 6:27 am 
User avatar

Posts: 136
    <style type="text/css">
    *{margin: 0px; padding: 0px}
    body, html{height: 100%}
    #tb{width: 100%; height: 100%; border-style: 'none'; border-spacing: 0px}
    #rw{width: 100%; height: 100%}
    #ifr{border-style: 'none'; display: block; width: 100%; height: 100%;}
    </style>

<table id="tb"><tr >
<td id="rw"><iframe src="http://www.scriptingok.com" id="ifr"></iframe></td>
</tr></table>


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