Welcome to WebmasterWorld Guest from 184.108.40.206
Forum Moderators: open
In general, Firefox is much more standards compliant than IE. But because IE is so widespread, and because Microsoft makes both FP and IE, therein lies the trouble.
If you want to see how far your particular FrontPage code falls short of being valid, check it out through the free online validators provided by the W3C, the standards body for the web.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
When I switched to a full DOCTYPE, including the link to the w3 DTD like this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
on one site that was causing problems, the trouble disappeared.
How do I declare a default DOCTYPE in my new web pages?
In Microsoft FrontPage, there is a file on your computer that is used as the 'template' for the new_page_1.htm that's created either when you open your web or when you hit the "New Page" button. The file is called "Normal.htm".
In a normal install of FrontPage 2000 and 2002, this file is in C:\Program Files\Microsoft Office\Templates\1033\Pages\normal.tem\
In a normal install of FrontPage 2003, this file is in C:\Program Files\Microsoft Office\Templates\1033\PAGES11\normal.tem\
You can open this file in FrontPage and edit it like you would any other web page. Navigate to the directory where the file is located, open the file and choose File ¦ Properties. You can add things that you want to be common to all the new web pages you create from this point on in all your webs, like Meta tags and DOCTYPE.
Here's a DOCTYPE statement that you can copy and paste into the template, it goes before the <html> tag (in HTML View). The DOCTYPE statement must be at the very beginning of your page. To see what I mean, do a View ¦ Source on this page.
When you've added it, do a File ¦ Save As Normal.htm (Yes, you want to overwrite the file). From that point on, every new page you create will have a valid DOCTYPE declaration.