Why does my Frameset HTML page load blank frames?
This is my current page, which works in IE 7:
<HTML>< HEAD><TITLE>My Calendar of Events</TITLE> <base href="C:\Calendar\2013\"></HEAD > <FRAMESET BORDER=5 ROWS="60, *" > <FRAME NAME="navigate" SRC="navigate.html" SCROLLING="NO" MARGINWIDTH=0 MARGINHEIGHT=0 NORESIZE > <FRAME NAME="content" SRC="load.html" SCROLLING="AUTO" MARGINWIDTH=5 MARGINHEIGHT=0> </FRAMESET >< /HTML>
I later added the followinging lines, the 2nd in the <head> section (to no avail):
< !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd" >
< meta http-equiv="Content-Type" content="text/html; charset=utf-8" >
The frames seem to load in Firefox 38, as I can see the border, but no content is displayed. I CAN get the content to display in Firefox if I open the frames manually, either by typing in the addresses or dropping the pages into a window so it 'must' be the FRAMESET page. Any help will be greatly appreciated.
由cor-el于
所有回复 (2)
What is the deal with the base tag?
<base href="C:\Calendar\2013\"></HEAD>
That links to a local folder. I don't think that this will work in Firefox. All files need to be in the same folder (main HTML and the frame files)
Is this an internet page?
Hi Cor,
The base tag does refer to a local folder/file. The entire page is local, with all folders. Everything works fine in IE but the frames load blank in Firefox. If everything really needs to be in a single folder, it could get very messy. I must have separate folders for the months, unless I rename all "day" files to be month-specific, then change all the links. I could post a sample month page but the code is longer.
So, you think it's just having different folders that is breaking the code?