Tech Support > Computer Hardware > Remove left and top padding from IFRAME in a cell?
Remove left and top padding from IFRAME in a cell?
Posted by FingersMeArse on December 1st, 2004


Hello. :-)

I have an IFRAME inside a table's cell, but there seems
to be some space between the top and left of the IFRAME
and the sides of the cell that I can't seem to get rid of.

Can anyone help me out here?


Posted by Grinder on December 1st, 2004


FingersMeArse wrote:
The examples below display "Here is some text" with no margin in IE and
Firefox. I'm unsure how to accomplish the same thing with CSS.

<!-- Test-1.html -->

<HTML>
<BODY>
<TABLE>
<TR>
<TD>
<IFRAME SRC="Test-2.html" MARGINWIDTH="0">
</TD>
</TR>
</TABLE>
</BODY>
</HTML>

<!-- Test-2.html -->

<HTML>
<BODY>
Here is some text
</BODY>
</HTML>


Similar Posts