homepage Welcome to WebmasterWorld Guest from 54.211.97.242
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Browsers / Firefox Browser Usage and Support
Forum Library, Charter, Moderators: incrediBILL

Firefox Browser Usage and Support Forum

    
Frame works in IE but not in Firefox
Frames in Firefox do not work the same as IE
RooDood

5+ Year Member



 
Msg#: 4137210 posted 2:48 am on May 23, 2010 (gmt 0)

Hopefully someone can help with this "frame" issue with the Firefox (FF2) browser. (I use Firefox2 because Firefox3 is incompatible with WIN98SE which I still use).

Below is the entire code on the main web page (Index.htm page). All three frames get loaded in Internet Explorer (IE6) but in FF2 only the first two frames get loaded, the third frame is blank where the src="ResumeControls.htm" page should get loaded. I get no errors in the FF2 error console. I can launch the web page "ResumeControls.htm" in FF2 individually as a single page without any problem, the only problem is that it won't show up in the third frame like it does in IE6 using the frames web page. (The code is nearly identical for each frame and since the third frame does load using the IE6 I see no reason why it should not do so using FF2). THANKS FOR ANY HELP.

CODE:

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Resume</title>
<base target="Detail">
</head>
<frameset rows="140,*,50" border="0" scrollbars="no" scrolling="no">
<frame src="ResumeHeader.htm" noresize scrolling="no" name="Header">
<frameset cols="*">
<frame src="MJSresumeIframe.htm" border="0" bordersize="0" noresize name="Detail">
<frameset cols="*">
<frame src="ResumeControls.htm" noresize scrolling="no" name="Control">
</frameset>
</frameset>
</frameset>
</html>

 

tangor

WebmasterWorld Senior Member tangor us a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month



 
Msg#: 4137210 posted 3:19 am on May 23, 2010 (gmt 0)

Off the cuff, looks like too many </frameset>. Have you run this through W3C validator?

Also don't see a <noframes> which is also beneficial.

rocknbil

WebmasterWorld Senior Member rocknbil us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 4137210 posted 5:26 pm on May 23, 2010 (gmt 0)

Welcome aboard, RooDood. It may be your wildcard, but on closer examination, it may not even be that.

<frameset cols="*">

Which means "take up all remaining space." See what it does in your first frameset? It may be that column 1 is just forcing column 2 into a zero width. I can't recall if percentage is supported (I think it is) but apply this to both of the wildcard ones:

<frameset cols="50%">

On closer examination: Look what you're doing:

<frameset cols="*">
<a single column declaration then it's src, then

<frameset cols="*">

another one.

Why can't you do this?


<frameset rows="140,*,50" border="0" scrollbars="no" scrolling="no">
<frame src="ResumeHeader.htm" noresize scrolling="no" name="Header">
<frameset cols="50%,50%">
<frame src="MJSresumeIframe.htm" border="0" bordersize="0" noresize name="Detail">
<frame src="ResumeControls.htm" noresize scrolling="no" name="Control">
</frameset>
<frame src="ResumeFooter.htm" noresize scrolling="no" name="Footer">
<!-- presuming the previous, above you have 3 rows -->
</frameset>

kaled

WebmasterWorld Senior Member kaled us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 4137210 posted 1:42 pm on May 24, 2010 (gmt 0)

As a general rule, you should avoid frames for content that is going to be indexed by search engines. It is possible to create "frameless frames" using scrolling divs but this requires a variety of hacks under Internet Explorer. I use this method myself but I don't generally recommend it to others.

Validation should always be the first step when trying to figure out why code doesn't work correctly. I added the following doctype at the start of your code and attempted to validate it [validator.w3.org...]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">

Several errors related to unrecognised attributes were found.

Kaled.

RooDood

5+ Year Member



 
Msg#: 4137210 posted 4:19 pm on May 28, 2010 (gmt 0)

rocknbil - thanks for the help (and everyone else too),

I do not have any "columns" thus the "*" value in my code (to fill the screen across). I only have three "rows" in other words three frames horizontally on the page. The three frames show up just fine in both browsers in the same locations, I do not have a problem with the frame sizing or positioning at all.

As I posted the ONLY problem is that the ResumeControls.htm page will not "load" into the third frame as it does in Internet Explorer (IE). The third frame shows up fine just the way I want it, the only problem is that the frame is empty (blank white space). The third "frame" loads just fine in IE as well as I said and I can load the ResumeControls.htm page that I want to show up in FF2 browser in the third frame as a single web ResumeControls.htm page in FF2 without any problem either but the ResumeControls.htm page will simply not show up in the third frame in the "frames" page in the FF2 browser is my only problem. It is only a matter of getting the page to load into the third frame.

Also as I posted, I do not get any errors in the FF2 error console either. I have no idea why that last frame remains empty is all.

Sorry for not making myself clear before but this is what I meant to say when I originally posted:
... All three frames get loaded in Internet Explorer (IE6) but in FF2 only the first two frames get loaded, the third frame is blank where the src="ResumeControls.htm" page should get loaded. I get no errors in the FF2 error console....

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Browsers / Firefox Browser Usage and Support
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved