validateris seeing errors in the name microsoft themes

K

Kevin Spencer

Cat got your tongue?

Tip: For the best answer, provide as much information as clearly as
possible.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.
 
K

kenneth coder

when I use any html validator ie. http://w3.org I get many frontpage errors
the first one is that the "microsoft theme" must be named by only one word.
the rest are script related in that the link bars created in fp are missing
the:

Line 178, column 222: required attribute "TYPE" not specified

....span --><script language="JavaScript"><!--

this is saying that I should use

<SCRIPT LANGUAGE="JavaScript" type="text/javascript">

but how can I correct it

these are the errors from frontpage and again ALL the validators agree

#1. Line 26, column 110: value of attribute "NAME" must be a single token

....2/bree1011.css"><meta name="Microsoft Theme" content="breeze2 1011,
default">

#2. Line 190, column 59: there is no attribute "LANGUAGE"

....="custom_vans_woodwork.htm" language="JavaScript"
onmouseover="if(MSFPhover)

You have used the attribute named above in your document, but the document
type you are using does not support that attribute for this element. This
error is often caused by incorrect use of the "Strict" document type with a
document that uses frames (e.g. you must use the "Transitional" document type
to get the "target" attribute), or by using vendor proprietary extensions
such as "marginheight" (this is usually fixed by using CSS to achieve the
desired effect instead).

This error may also result if the element itself is not supported in the
document type you are using, as an undefined element will have no supported
attributes; in this case, see the element-undefined error message for further
information.

How to fix: check the spelling and case of the element and attribute,
(Remember XHTML is all lower-case) and/or check that they are both allowed in
the chosen document type, and/or use CSS instead of this attribute.
#3. Line 190, column 388: required attribute "TYPE" not specified

....1"></a> <script language="JavaScript"><!--

The attribute given above is required for an element that you've used, but
you have omitted it. For instance, in most HTML and XHTML document types the
"type" attribute is required on the "script" element and the "alt" attribute
is required for the "img" element.

Typical values for type are type="text/css" for <style> and
type="text/javascript" for <script>.

can not find where in the data base that this is
thanks
kenneth coder
 
J

Jens Peter Karlsen[FP MVP]

Change to HTML view and change there if you want it to validate.
Notice that the page will still work in browsers despite these minor
errors.
The issue with name="microsoft theme" you can't correct. The only
solution there would be not to use a theme.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
-----Original Message-----
From: kenneth coder [mailto:[email protected]]
Posted At: 8. januar 2005 00:23
Posted To: microsoft.public.frontpage.programming
Conversation: validateris seeing errors in the name microsoft themes
Subject: Re: validateris seeing errors in the name microsoft themes


when I use any html validator ie. http://w3.org I get many
frontpage errors the first one is that the "microsoft theme"
must be named by only one word.
the rest are script related in that the link bars created in
fp are missing
the:

Line 178, column 222: required attribute "TYPE" not specified

...span --><script language="JavaScript"><!--

this is saying that I should use

<SCRIPT LANGUAGE="JavaScript" type="text/javascript">

but how can I correct it

these are the errors from frontpage and again ALL the validators agree

#1. Line 26, column 110: value of attribute "NAME" must be a
single token

...2/bree1011.css"><meta name="Microsoft Theme"
content="breeze2 1011, default">

#2. Line 190, column 59: there is no attribute "LANGUAGE"

...="custom_vans_woodwork.htm" language="JavaScript"
onmouseover="if(MSFPhover)

You have used the attribute named above in your document, but
the document type you are using does not support that
attribute for this element. This error is often caused by
incorrect use of the "Strict" document type with a document
that uses frames (e.g. you must use the "Transitional"
document type to get the "target" attribute), or by using
vendor proprietary extensions such as "marginheight" (this is
usually fixed by using CSS to achieve the desired effect instead).

This error may also result if the element itself is not
supported in the document type you are using, as an undefined
element will have no supported attributes; in this case, see
the element-undefined error message for further information.

How to fix: check the spelling and case of the element and
attribute, (Remember XHTML is all lower-case) and/or check
that they are both allowed in the chosen document type,
and/or use CSS instead of this attribute.
#3. Line 190, column 388: required attribute "TYPE" not specified

...1"></a> <script language="JavaScript"><!--

The attribute given above is required for an element that
you've used, but you have omitted it. For instance, in most
HTML and XHTML document types the "type" attribute is
required on the "script" element and the "alt" attribute is
required for the "img" element.

Typical values for type are type="text/css" for <style> and
type="text/javascript" for <script>.

can not find where in the data base that this is thanks kenneth coder

Kevin Spencer said:
Cat got your tongue?

Tip: For the best answer, provide as much information as clearly as
possible.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.
 
K

kenneth coder

this is not telling me anything about the script errors that are generated
when using the link bars. where are they located to change the code. I know
to change it in the html view. I can get away without using a theme to
correct the other but how can I apply my background.jpg with another line
other than in the <body>
tag
 
R

Ronx

If you use FrontPage link bars you cannot change the code, except by opening
the page in notepad and editing the code there, then NEVER open the website
in FrontPage again.

If you use FP Link bars the page will never validate when using a HTML4xx
!doctype. The link bars use an illegal HTML element ( <nobr> which works
correctly in every browser from Netscape 1.0 through FireFox 1.0 and all
versions of Lynx, Mozilla, Opera and IE in-between ).

The page background should be applied using CSS
example

body {background-image: url(images/background.jpg);}
 

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