1 error left and Im pulling my hair out

Locked
baggiesmad
Joomla! Explorer
Joomla! Explorer
Posts: 419
Joined: Tue Feb 21, 2006 11:10 am

1 error left and Im pulling my hair out

Post by baggiesmad » Fri Jan 05, 2007 11:15 am

Ive put my site through the css validator and this is the only error left.

Code: Select all

Error  Line 22 column 68: document type does not allow element "link" here.

...plate_css.css" rel="stylesheet" type="text/css" />

The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).

One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
Ive tried moving the error out of the head tags and I get more errors pop up.
Last edited by baggiesmad on Fri Jan 05, 2007 2:31 pm, edited 1 time in total.

baggiesmad
Joomla! Explorer
Joomla! Explorer
Posts: 419
Joined: Tue Feb 21, 2006 11:10 am

Re: 1 error left and Im pulling my hair out

Post by baggiesmad » Fri Jan 05, 2007 2:31 pm

SOLVED

Code: Select all

<link href="css/template_css.css" rel="stylesheet" type="text/css" />
Was placed out of the head tags  :D


Locked

Return to “Design and Accessibility - Archived”