I've run the CSS and HTML 4.0 validators on my home page. CSS checks out okay, but a problem is showing up in HTML that I don't understand how to fix, even after web searching. I am trying to do a couple things in one paragraph class: small caps, and then, a subset of small caps with a different color and in italics. The validator says (there's a list of similar ones):

Error Line 23 column 44: there is no attribute "CLASS".
...s="address" align="center">M<f class="smallcaps">ARTHA</f> H. B<f class="smal

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.
✉
Error Line 23 column 55: element "F" undefined.
... align="center">M<f class="smallcaps">ARTHA</f> H. B<f class="smallcaps">OWES

You have used the element named above in your document, but the document type you are using does not define an element of that name. 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 "Frameset" document type to get the "<frameset>" element), by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead). by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case.
Safari 2.0 renders these right even though the code is wrong, but IE 5.2 Mac does not.


The temporary site of the home page is: http://www.genealogyvault.net/ bowes-bigelow/index2.html The style sheet is: http://www.genealogyvault.net/bowes-bigelow/ style.css

Thanks in advance for any help anyone can provide, Martha


______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to