Remove left and top padding from IFRAME in a cell?

F

FingersMeArse

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?
 
G

Grinder

FingersMeArse said:
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?

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>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top