Doug_Dyer
11-25-2002, 11:03 AM
Hi,
I have a form that I would like to have certain fields of a table refresh every few seconds.
One convenient way I thought about tackling this was to have an IFRAME in each cell that I want refreshed, and force a location refresh on it.
I started out with this approach, but the IFRAME I want is just an input item and Im having a size problem. The frame wants to be huge.
My main page:
<FORM>
<TABLE>
<TR>
<TD><IFRAME FRAMEBORDER="1" ALIGN="TOP" SCROLLING="no" src="test.htm" height="24" width="150"></IFRAME></TD>
</TR>
</TABLE>
</FORM>
test.htm:
<input type="TEXT" value="Hello World" marginwidth="0" marginheight="0">
If you try this you will see the IFRAME bound by its height and width, but the test.htm page has a margin around it, so you can barely see the hello world item.
Im definitely not an expert on HTML, is there a way to create a page that an IFRAME will load and fit exactly into the space it is provided?
Thanks,
Doug
I have a form that I would like to have certain fields of a table refresh every few seconds.
One convenient way I thought about tackling this was to have an IFRAME in each cell that I want refreshed, and force a location refresh on it.
I started out with this approach, but the IFRAME I want is just an input item and Im having a size problem. The frame wants to be huge.
My main page:
<FORM>
<TABLE>
<TR>
<TD><IFRAME FRAMEBORDER="1" ALIGN="TOP" SCROLLING="no" src="test.htm" height="24" width="150"></IFRAME></TD>
</TR>
</TABLE>
</FORM>
test.htm:
<input type="TEXT" value="Hello World" marginwidth="0" marginheight="0">
If you try this you will see the IFRAME bound by its height and width, but the test.htm page has a margin around it, so you can barely see the hello world item.
Im definitely not an expert on HTML, is there a way to create a page that an IFRAME will load and fit exactly into the space it is provided?
Thanks,
Doug