Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > Remove left and top padding from IFRAME in a cell?

Reply
Thread Tools

Remove left and top padding from IFRAME in a cell?

 
 
FingersMeArse
Guest
Posts: n/a
 
      12-01-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?


 
Reply With Quote
 
 
 
 
Grant Wagner
Guest
Posts: n/a
 
      12-01-2004
FingersMeArse wrote:

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


Not a JavaScript question. But:

<table border="1">
<tr>
<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td style="padding:0;margin:0;"><iframe
src="http://www.yahoo.com" width="200"
height="100"></iframe></td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>
</tr>
</table>

seems to work fine.

--
Grant Wagner <(E-Mail Removed)>
comp.lang.javascript FAQ - http://jibbering.com/faq

 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Left padding and IE geniolatenio HTML 33 03-17-2006 09:49 AM
Find the Top Left xy of an <IFRAME> milbrand@gmail.com Javascript 1 03-15-2006 05:55 PM
How do I do a layout with 100% width minus padding on left and right? Tony M HTML 5 09-07-2005 10:48 PM
How To pop content into bottom IFrame from top IFrame nc Javascript 0 08-10-2004 01:19 PM
Get form values from iframe (1) to iframe (2) inside a layer in iframe (1) Daedalous Javascript 3 01-16-2004 11:08 AM



Advertisments