Topic: Help validating Pages that link to <a href="https://ozoneasylum.com/backlink?for=25254" title="Pages that link to Topic: Help validating" rel="nofollow" >Topic: Help validating\

 
Author Thread
templar654
Paranoid (IV) Inmate

From: Beyond that line...
Insane since: Apr 2004

IP logged posted posted 03-13-2005 16:14 Edit Quote

I'm trying to make my site completely valid XHTMl and CSS. But I've run into some problems I can't seem to understand. This is what my XHTML validation check is telling me:

Below are the results of attempting to parse this document with an SGML parser.

Line 57, column 33: end tag for "span" omitted, but OMITTAG NO was specified

</script></p>

You may have neglected to close a tag, or perhaps you meant to "self-close" a tag; that is, ending it with "/>" instead of ">".


Line 55, column 41: start tag was here

the new Helix.<br /><span class="comment">

Line 58, column 111: end tag for element "span" which is not open

...">Comments</a> ]</p></noscript></span>

The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem.

If this error occured in a script section of your document, you should probably read this FAQ entry.


Line 65, column 6: end tag for "body" omitted, but OMITTAG NO was specified

</html>


Line 15, column 0: start tag was here

<body>


What that mean? And my CSS validator is saying something about Generic Font Families but I've used correct CSS??

Line: 89

Unknown pseudo-element or pseudo-class acitve
Line: 120 Context : .comment a:active

Invalid number : color ff60 is not a valid color 3 or 6 hexadecimals numbers : #ff60

Line : 27 font-family: You are encouraged to offer a generic family as a last alternative


I understand the thing about the color I'll fix that up but what's with this Generic Family?? I've got like 80 similar errors? What gives??

Ensellitis
Bipolar (III) Inmate

From: New York, USA
Insane since: Feb 2002

IP logged posted posted 03-13-2005 17:01 Edit Quote

Go through your entire code. Sometimes errors can be caused by leaving a tag open or by not using the tag properly (I.e. <span instead of <span>



:: WWW || Contact || Deviations || ThoughtPrism ::

reisio
Bipolar (III) Inmate

From: Florida
Insane since: Mar 2005

IP logged posted posted 03-13-2005 18:12 Edit Quote
quote:
templar654 said:Generic Family?


font-family: whatever, whatever, whatever, sans-serif;

templar654
Paranoid (IV) Inmate

From: Beyond that line...
Insane since: Apr 2004

IP logged posted posted 03-14-2005 05:34 Edit Quote

Do I have to add sans-serif in the font-family besides the other fonts??

RhyssaFireheart
Paranoid (IV) Inmate

From: Out on the Sea of Madness...
Insane since: Dec 2003

IP logged posted posted 03-14-2005 06:52 Edit Quote
quote:
templar654 said:

Do I have to add sans-serif in the font-family besides the other fonts??



That would qualify as "generic," yes.

_____________________

coeur de feu
Qui sème le vent récolte la tempête!

DL-44
Maniac (V) Inmate

From: under the bed
Insane since: Feb 2000

IP logged posted posted 03-14-2005 19:05 Edit Quote

Most of these things are fairly self-explanatoyr, and the rest can ususally be figured out by a quick search for the term(s) that the validator spits out.

Missing closing tag -

1) make sure you close all your open tags, and make sure all your nesting is done properly (ie, if you have a span, p, a, like so: <span><.p>blah blah....<a>blah , make sure you close them in the same order </a></p></span>.

2) generic font-family - seems to be covered above.

3) color ff60 is not a valid color - nope, it's not. you're missing 2 numbers, or you've got an extra. is this a typo, or do you need clarification on this?

templar654
Paranoid (IV) Inmate

From: Beyond that line...
Insane since: Apr 2004

IP logged posted posted 03-18-2005 13:50 Edit Quote
quote:
DL-44 said:

is this a typo, or do you need clarification on this?



Clarification would be appreciated... what is the full list of (shortcuts) for color??

DL-44
Maniac (V) Inmate

From: under the bed
Insane since: Feb 2000

IP logged posted posted 03-18-2005 16:45 Edit Quote

the standard hex code for color consists of 3 sets of values

r, g, and b, of course.

Each value is traditionally two digits.

These digits start at the numbers 0-9, then the letters A-F. 0 being darkest and F being lightest.

Each set of values can contain any combination of these numbers/letters.

In CSS, you can abbreviate a hex code down to only 3 digits, if each set of values uses identical double digits.

In other words, you can abbreviate #99CC00 down to #9C0, or #000000 down to #000.

However, you cannot mix and match. So if you have #99CC03, since the last set of values has two different numbers, you cannot abbreviate the code (you cannot, for example, code it #9C03 - you need all six or only 3).

Make sense?

templar654
Paranoid (IV) Inmate

From: Beyond that line...
Insane since: Apr 2004

IP logged posted posted 03-19-2005 05:23 Edit Quote

Ah... I see. Is it good to abreviate all those codes? Or should I stick to just the full 6?

DL-44
Maniac (V) Inmate

From: under the bed
Insane since: Feb 2000

IP logged posted posted 03-19-2005 05:36 Edit Quote

I abbreviate whenever possible. can't see any negative side to it, and it saves on typing and on bytes.

seems like a good thing to me...

templar654
Paranoid (IV) Inmate

From: Beyond that line...
Insane since: Apr 2004

IP logged posted posted 03-21-2005 16:03 Edit Quote

YIPEEEEEEEEEEEEEEEEEEEEEEE I HAVE VALID CSS!!!! I'm getting this written on validation it good right?

quote:
To work as intended, your CSS style sheet needs a correct document parse tree. This means you should use valid HTML.


But my XHTML is still giving one error to which I am puzzled

quote:
Line 59, column 52: document type does not allow element "noscript" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag

... <span class="comment"><noscript><p>[ <a href="comment.php?comment_id=la

The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").


Some clarification please...

This is my Signature ----- Laughter is not an option... it is a motive!

Signature BEGINS NOW!!

. <-- is next to the arrow

templar654
Paranoid (IV) Inmate

From: Beyond that line...
Insane since: Apr 2004

IP logged posted posted 03-21-2005 16:28 Edit Quote

OH on second thought I've figured it out!! I HAVE COMPLETE VALID PAGES NOW!!!! For first time also

Claps hands twice

I'm happy

This is my Signature ----- Laughter is not an option... it is a motive!

Signature BEGINS NOW!!

. <-- is next to the arrow



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu