Thread: Web Page Help
View Single Post
  #5   Report Post  
Old September 4th 03, 07:38 PM
Dave Platt
 
Posts: n/a
Default

In article ,
Arrow146 wrote:
Hello,

I could use some help if you have time.
Redone some of my web page, now it don't seem to be
working very well. Problem may be my AOL browser, seems
to work better using Internet Explorer, still on aol.


If you go to www.w3.org (the World Wide Web Consortium home page) and
click on the "Validators" link on the left side, you'll be taken to a
page which lists quite a few freely-available Web-page validation
services.

Their own service is at http://validator.w3.org/ - feed it your URL
and it'll parse the content and tell you what, if anything, it finds
wrong.

This particular validator objected to your home page immediately, as
the document lacks a !DOCTYPE ... tag which would tell a browser
what sort of document the page is (and thus the rules for interpreting
it). This might be at least part of the cause of the problem you're
seeing... different browsers are making different (and perhaps wrong)
assumptions about how to parse and interpret the document's contents.
IE is known to be more forgiving about certain types of HTML errors
than some other browsers, and IE also has a bunch of nonstandard
extensions.

I tried forcing the validator to handle the document as a couple of
different versions of HTML DOCTYPE.

- The HTML 2.0 parser rejects a boatload of the tags and attributes,
so I don't think this is what you want.

- The HTML 3.2 parser also rejects many tags, and is objecting
specifically to the use of percentages in the TD tag WIDTH
attributes.

- The HTML 4.0 parser is objecting to a lot of the p and center
tags.

You can either use this validator on via their site, or download the
source code (it's written in Perl) and run it on local files on your
own system.

I'd suggest that you decide on _which_ version of HTML you want to be
coding to, add a !DOCTYPE declaration to enforce this, and then
clean up the HTML until the validator says that the document is fully
compliant with the standard.

Avoid the use of nonstandard extensions (Microsoft or otherwise) if
you want your page to look good to everybody.

--
Dave Platt AE6EO
Hosting the Jade Warrior home page: http://www.radagast.org/jade-warrior
I do _not_ wish to receive unsolicited commercial email, and I will
boycott any company which has the gall to send me such ads!