Welcome to WebmasterWorld Guest from 184.108.40.206
Forum Moderators: incrediBILL
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]
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:
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"
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]