Welcome to WebmasterWorld Guest from

Forum Moderators: incrediBILL

Message Too Old, No Replies

Firefox and frames



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

5+ Year Member

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]


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

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

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"


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"


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

5+ Year Member

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]


Featured Threads

Hot Threads This Week

Hot Threads This Month