Original Post
I know this is a programming forum and HTML isn't considered a programming language but here is my question:
I have been working on my new site, at the moment I am still working on the design and layout. I am hosting it on IIS for testing purposes at the moment. It is located at here
MainFrame is that page which has an iFrame as can be seen where the "This page cannot be displayed" is.
The main links (the hyperlink hasn't been added yet) on the top menu will load a page in that iFrame.
However, the iFrame (Fmain) has a fixed height so whenever I load a page into it, I have to use scrolling. What I would like is the table/iFrame (the iframe is basically a the table) to resize to fit the data.
A quick search on Google revealed that iFrames cannot be resized, they are given a fixed height/width and that cannot be changed.
My question is, how would I have an iFrame or something similar which can do what I described, resize according to the data loaded in it, or do I have to set up a template and have the menu,banner and all the other aspects as just non-editable regions with only that table editable.
Just to clarify the structure:
The middle section of the site (the menu and the corresponding bit on the right, are 3 columns. One column containing the menu, one column only a few pixels wide as a seperator and then the main column
The main column has a table embedded in it. This is the iFrame.
I have a template set up, which just has the bgcolor and a "no-border" table for aligning stuff. This template is applied so all the pages to be loaded in the iframe are just content in a "no-border" table with a set background.
If you need a better description/explanation I will try and make it a bit easier, and any help is appreciated.
When we fall, earth will die, sun will set, and moon will shine, and the only image will be the Raven's shadow in your eyes. So it is written, so it shall come to pass. Quoth the Raven, nevermore... Edit: fixed the formatting a bit [edited by - sanguineraven on December 23, 2002 12:40:51 PM]
<td width="555" valign="top" bgcolor="#5B6C7D"> <table width="100%" height="100%" border="0" cellpadding="15" cellspacing="0"> <tr> <td valign="top"><table width="100%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#000000"> <tr> <td> <iframe src="intro.htm" name="Fmain" width="100%" frameborder="0" noresize="no"></iframe> </td> </tr> </table></td></tr></table></td>
When we fall, earth will die, sun will set, and moon will shine, and the only image will be the Raven's shadow in your eyes. So it is written, so it shall come to pass. Quoth the Raven, nevermore... Edit: fixed the formatting a bit [edited by - sanguineraven on December 23, 2002 12:40:51 PM]