xninax
06-12-2004, 01:23 PM
Hello :)
I hope you can help me out with this... I am trying to do a simple website with css positioning. I've made a html document that contains my menu and an additional image and an iframe. Then I've positioned it (using relative positioning) so that the iframe is moved up and right to fit in under the menu.
That part works and it looks as it should.
My problem now is that my page has a lot of empty space under the iframe. The browser shows the iframe in the correct moved up position, but it still inserts as much empty space as if I didn't move it at all? How do I get rid of this empty space? I know I can remove the scrolling option, but I want people with small screen resolutions to be able to view my site too...
This is the html:
<body>
<div id="menu"><img src="layout/menu.gif" width="726" height="267"></div>
<div id="who"><img src="layout/who.gif"></div>
<div id="content"><iframe src="content.htm" name="content" width="560" height="320" frameborder="0">If you see this text, iframes are not enabled on your browser, please update to the newest version!</iframe></div>
</body>
I hope you can help me out with this... I am trying to do a simple website with css positioning. I've made a html document that contains my menu and an additional image and an iframe. Then I've positioned it (using relative positioning) so that the iframe is moved up and right to fit in under the menu.
That part works and it looks as it should.
My problem now is that my page has a lot of empty space under the iframe. The browser shows the iframe in the correct moved up position, but it still inserts as much empty space as if I didn't move it at all? How do I get rid of this empty space? I know I can remove the scrolling option, but I want people with small screen resolutions to be able to view my site too...
This is the html:
<body>
<div id="menu"><img src="layout/menu.gif" width="726" height="267"></div>
<div id="who"><img src="layout/who.gif"></div>
<div id="content"><iframe src="content.htm" name="content" width="560" height="320" frameborder="0">If you see this text, iframes are not enabled on your browser, please update to the newest version!</iframe></div>
</body>