I'm having problems with incorporating frames and tables.
To start with, using just tables, I have a nicely formatted heading and option area. The zip file of the screen dump was unfortunately too big to send, but the screen has ten menu options, each a td element, spaced evenly across the entirety of the screen.
The result when I call the original html file (unchanged) with the following html code:
<html>
<frameset rows="30%,*" border=1>
<frame src="testmenu.htm">
<frame src="mainbody.htm" name=mainbody>
</frameset>
</html>
isn't as good, and the result of the frameset seems to be to include enough space on the right hand side of the screen to accommodate a scrollbar, even though one is not required, so that the menu options don't cover the entirety of the screen but stop short by about the width of a scrollbar.
Can anyone tell me what is happening here?
Alternatively, the reason I did this was that I want the contents of the screen to differ according to the selected menu option, so thought that frames might be a good idea.
Is there an alternative to using frames but still having variable screen display? Is there, for instance, a document.clear option?
I guess the only problem I see with this is that I'd have to display the heading and table of menu options again and again to give the appearance of a static navigation area, which is what I want.
Any help would be appreciated.
Thanks.
Russell.
To start with, using just tables, I have a nicely formatted heading and option area. The zip file of the screen dump was unfortunately too big to send, but the screen has ten menu options, each a td element, spaced evenly across the entirety of the screen.
The result when I call the original html file (unchanged) with the following html code:
<html>
<frameset rows="30%,*" border=1>
<frame src="testmenu.htm">
<frame src="mainbody.htm" name=mainbody>
</frameset>
</html>
isn't as good, and the result of the frameset seems to be to include enough space on the right hand side of the screen to accommodate a scrollbar, even though one is not required, so that the menu options don't cover the entirety of the screen but stop short by about the width of a scrollbar.
Can anyone tell me what is happening here?
Alternatively, the reason I did this was that I want the contents of the screen to differ according to the selected menu option, so thought that frames might be a good idea.
Is there an alternative to using frames but still having variable screen display? Is there, for instance, a document.clear option?
I guess the only problem I see with this is that I'd have to display the heading and table of menu options again and again to give the appearance of a static navigation area, which is what I want.
Any help would be appreciated.
Thanks.
Russell.
Comment