Validation troubles

J

jnm

I am working on an Intranet site where I have designed a standard page in
Frontpage 2000. I am using some java scripts to control my page. Further I
am using the Common border feature to link my navigation to.

When I try to validate my page I get some errors, which I do not understand.

I have used this link for the validation:

http://htmlhelp.com/tools/validator/upload.html.en




Errors and Warnings
Line 16, character 55:

.... der" content="none; default">

^Error: end tag for meta omitted; end tags
are required in XML for non-empty elements; empty elements require an end
tag or the start tag must end with />



Line 16, character 1:

<meta name="Microsoft Border" content="none; default">

^start tag was here



Line 19, character 38:

.... load="setcorners()" onresize="setcorners()" onscroll="setcor ...

^Error: there is no attribute onresize for
this element (in this HTML version)



Line 19, character 62:

.... size="setcorners()" onscroll="setcorners()"><!--msnavigation ...

^Error: there is no attribute onscroll for
this element (in this HTML version)





Frontpage creates the failure in line 16. When I insert a proper end tag
like .default" /> the slash is removed by FP when I store the page prior to
uploading the page?

My line 19 and 21 contains the attributes onresize and onscroll, which does
not work with this HTML version. The page works fine in the real life!!! Any
suggestion on how to solve this problem.?



The page is located on this link, which is in the bottom of my WEB.

http://www.mqmanagement.dk/eksperimenter/test.htm



Regards

Jorgen
 
S

Steve Easton

Use a different validator.
Also ignore any errors related to javascript.

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed..................
...............................with a computer
 
J

jnm

Steve Easton said:
Use a different validator.
Also ignore any errors related to javascript.

That's fine, but which one do you recommend as validator.

Regards
Jorgen
 
S

Stefan B Rusynko

Changing validators won't help
- understanding them would help the OP

The OP is using a XHTML doc type
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
So all html tags must be in XML formatting or he need to change the doc type to a Html one as in


For the Theme meta tag validation error, TBMK FP 2000 does not have the ability to convert to Xhtml
(in later versions or FP in code view you can right click to Apply XML formatting rules to cure it)

And the other 2 errors are because the last 2 events in the <body> tags are Not part of the W3C spec
<body onload="setcorners()" onresize="setcorners()" onscroll="setcorners()">
See http://www.w3.org/TR/html4/struct/global.html#edef-BODY

The onresize and the onscroll are Window Events only supported by some browsers (normally called from a script in the head section -
not the body tag)
--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| http://www.w3.org/
|
| Specifically: http://validator.w3.org/
|
|
|
| --
| Steve Easton
| Microsoft MVP FrontPage
| 95isalive
| This site is best viewed..................
| ..............................with a computer
|
| >
| > "Steve Easton" <[email protected]> skrev i en meddelelse
| > | > > Use a different validator.
| > > Also ignore any errors related to javascript.
| >
| > That's fine, but which one do you recommend as validator.
| >
| > Regards
| > Jorgen
| >
| >
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top