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