Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Table inside Iframe - very wierd problem

Status
Not open for further replies.

buddyrich2

Technical User
Apr 12, 2006
87
US
I have an iframe portion of my site with a regular HTML page inside the iframe (also uses .pdfs - they display fine). In the [inner] HTML file I have a regular table that is supposed to spread out to 100% of the [inner]page. For some reason it ALWAYS has a right margin of about 10px that I cannot seem to get rid of. When you view the [inner] HTML page by itself it looks fine.

Anyone have any ideas?

Thanks!
 
In the BODY tag I have <body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">

Are you saying I need something besides that?
 
The "right margin" is probably space saved for the scroll bar when it is needed. Try adding scrolling=no to the iframe tag.

Tracy Dryden

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard. [dragon]
 
The margins you have in your body are old and non-standard attributes to control the gap of the body. You'd be better off with the css solution. Can you show us the page in question?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top