My current project page (also my first html project ever - I'm a newbie), is laid out in two columns, with the help of a table. In the second (right) column of the table, there currently is some text on the top (will be replaced with an image), and then an iframe for the main content.
See here:
www.theletter3.com
The width of the iframe is defined and fixed.
I would like for it to have a relative height (probably somewhere around 80%), so the bottom border will move up when you make the browser window smaller. That way the table height would be higher in browsers with high resolution, and smaller in low resolution, but it would never leave the visible part of the browser (unless you go lower than 800x600, then it's just too bad...).
This method works just fine without the table layout:
http://www.theletter3.de/testy.htm
However, if I use that same code in the table layout, the iframe will just disappear, and the text be displayed a lot lower than usual:
http://www.theletter3.de/testy2.htm
This is regardless of the percentage value I enter...
What is happening here, and how can I fix it?
This is my iframe tag:
<iframe name="mainframe" frameborder="0" src="home.htm" height="75%" width="750"></iframe>
See here:
www.theletter3.com
The width of the iframe is defined and fixed.
I would like for it to have a relative height (probably somewhere around 80%), so the bottom border will move up when you make the browser window smaller. That way the table height would be higher in browsers with high resolution, and smaller in low resolution, but it would never leave the visible part of the browser (unless you go lower than 800x600, then it's just too bad...).
This method works just fine without the table layout:
http://www.theletter3.de/testy.htm
However, if I use that same code in the table layout, the iframe will just disappear, and the text be displayed a lot lower than usual:
http://www.theletter3.de/testy2.htm
This is regardless of the percentage value I enter...
What is happening here, and how can I fix it?
This is my iframe tag:
<iframe name="mainframe" frameborder="0" src="home.htm" height="75%" width="750"></iframe>