homepage Welcome to WebmasterWorld Guest from 54.167.11.16
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Browsers / Firefox Browser Usage and Support
Forum Library, Charter, Moderators: incrediBILL

Firefox Browser Usage and Support Forum

    
Firefox and frames
Monkey




msg:3383025
 5:26 pm on Jun 30, 2007 (gmt 0)

I have used CSS but find I have to do so much work fixing for the different browsers that I gave up and used frames to help me design my web pages.

This mostly works for IE, Safari and Firefox but am recently having an issue with Firefox. In IE and Safari, my frames show up great with a width and height of 100%, filling the whole window or table. In Firefox, the frame appears in 1/4 of the window. I want it to fill up the whole window.

Was wondering if anyone might have come across this and have a suggestion as to what I can do to rectify this?

[edited by: Monkey at 5:27 pm (utc) on June 30, 2007]

 

tedster




msg:3383072
 6:28 pm on Jun 30, 2007 (gmt 0)

Hello monkey, and welcome to the fourms.

This doesn't make a lot of sense to me, since a frameset by definition fills the entire window. I'd suggest you run all the html documents involved through the W3C validators:

W3C Validator - HTML [validator.w3.org]
W3C Validator - CSS [jigsaw.w3.org]

It's possible that some error is presnt, and IE/Safari are recovering from that error more gracefully than Firefox. It can be impossible to fix some cross-browser issues if they are caused by errors in the mark-up, so validation is the best first step.

Note: you should be using one of the frameset doctypes for the main page:

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

or

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">

Monkey




msg:3383616
 6:08 pm on Jul 1, 2007 (gmt 0)

Hi tedster

Many thanks for the suggestions. Forgot about the W3C validator. Anyway I was using inline frames and this was causing the problem. However the DocType code you suggested uses framesets. So I changed my page over to a frameset and it works well in all the browsers.

Many thanks for your help! Hope I'll be able to help someone back in this forum

:)

[edited by: Monkey at 6:14 pm (utc) on July 1, 2007]

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