QUOTE(ken- @ Dec 14 2011, 08:05 PM)
Actually, whenever I tried to change the first line to something else, after clicking on save in my html editor, it always reverts back to
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
Actually, the xmlns stuff in the HTML tag has nothing to do there in a HTML document.
So, my choice is either I have it, or not - if I delete it, it stays deleted.
You changed it once, didn't you? Your two pages have different doctypes. Isn't that what this is about? If your editor doesn't behave, use another one. Do it in Notepad if nothing else.
My question is, can anyone not see the differences between my 2 websites?
Of course we can. We are trying to explain to you that this is because of the different doctypes, because they trigger different rendering modes in browsers.
How can I preview using a browser? You mean something like IE or Firefox?
Yeah, something like that. Just open the HTML document in the browser as you would any document in any program. Drag it there or use File menu.
I can't see any problems with the programming (code)
There are problems. There are programs that can help you to find the errors in your HTMLhttp://www.htmlhelp.com/cgi-bin/validate.c...s&input=yes
The CSS checker shows you the probable reason to why your backgrounds don't show up.
BACKGROUND-IMAGE: url(Weight loss - Health Directory_files/out.gif)
That URL isn't correctly formatted. Spaces aren't allowed in URLs and must be escaped (replaced with special code). Instead of a space you use %20 like so.
This is called URL encoding. It's much easer (and prettier to read) to avoid spaces in file and directory names. Use underscore or hyphen if you want to separate words. Also, mixed case will usually get you into trouble sooner or later. Most servers are Unix/Linux based and unlike Windows they are case sensitive.