搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Why does my Frameset HTML page load blank frames?

more options
I asked this question over a year ago but received no replies. I'm trying again so I can stop using IE. I'll appreciate all help. I'm working on Windows XP, SP3 with all updates. Frefox is set for automatic updates.

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.

I asked this question over a year ago but received no replies. I'm trying again so I can stop using IE. I'll appreciate all help. I'm working on Windows XP, SP3 with all updates. Frefox is set for automatic updates.<P> This is my current page, which works in IE 7: <pre><nowiki><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></nowiki></pre> 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)

more options

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?

more options

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?