Current location: Hot Scripts Forums » General Web Coding » HTML/XHTML/XML » iframe and table


iframe and table

Reply
  #1 (permalink)  
Old 11-13-06, 06:10 PM
jumbo1 jumbo1 is offline
Wannabe Coder
 
Join Date: May 2006
Posts: 118
Thanks: 0
Thanked 0 Times in 0 Posts
iframe and table

Hi all

I have an iframe which is 500x120 and that contains a table that is 500x120. The problem is that the frame doesnt fit the table exactly, and that a scrollbar apears, etc...

How can i make the iframe fit the table exactly?

NB: i do NOT want to enlarge the iframe. I want the iframe and table to be both exactly the same size.

Thank you.
Reply With Quote
  #2 (permalink)  
Old 11-13-06, 06:21 PM
Nico's Avatar
Nico Nico is offline
Community Leader
 
Join Date: Sep 2005
Location: Spain
Posts: 8,075
Thanks: 11
Thanked 88 Times in 83 Posts
Try putting this in the frame where the table is.

Code:
<style="text/css">
body
{
    margin: 0px;
}
</style>
Reply With Quote
  #3 (permalink)  
Old 11-13-06, 08:30 PM
reportingsjr reportingsjr is offline
Newbie Coder
 
Join Date: Aug 2006
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
also you may want to add frameborder="0" so there isn't a crappy border.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Freezing a Table Header rnunes ASP 1 06-07-06 09:59 PM
make an iFrame clickable vader1000 HTML/XHTML/XML 8 01-05-06 07:45 PM
Merging html pages Dave Anderson HTML/XHTML/XML 4 12-31-04 02:02 PM


All times are GMT -5. The time now is 08:55 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.