Forum Moderators: open
The table is set at 100% so I can set the background for the page there. So is there really a point to that tag or is it just for code structure?
leaving out the body tag could (and probably will) cause some serious rendering errors in *most* browsers, not to mention spiders.
As suggested look around for a different host, there *are* some out there that don't interfere with your page too much if at all.
But I wouldn't see ommitting the body tag as a viable option.
Good Luck
Dazz
Just a word of caution sinner_g - any free host I've ever come across requires that, in exchange for their free hosting, you allow them to inject whatever scripting they choose into your pages. It's part of their TOS. Some offer alternatives to popups, but it depends on the host.
Many free hosts have "search-and-destroy" bots that crawl member pages looking for exactly this sort of dodge. They are often very efficient.
The body tag tells a broser where the actuall document content is. On some browsers, leaving it out woun't work.
Name one browser that does that, and I'll name a browser that's severely broken.
From the HTML 4.0 DTD [w3.org]:
<!ELEMENT BODY O O (%block;¦SCRIPT)+ +(INS¦DEL) -- document body --> The double O's after the word "BODY" mean the start and end tags are optional [w3.org]. BODY is a "required and implied" element -- browsers have to assume it exists whenever they see BODY-only content.
[edited by: mbauser2 at 8:27 pm (utc) on Aug. 13, 2002]
and as soon as they discover what you are doing, they will terminate your account without warning, and in all likelihood you will not be able to reinstate it.
As far as free hosts go, by terminating your account they will be doing you a favor. There is no longer, in my opinion, such a thing as a good (or even mediocre) free host.
The "good old days" of geocities in the late 90s are long gone.
Richard Lowe