Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 02:21:18 PM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155539 Posts in 21712 Topics by 7737 Members
Latest Member: deanmacullam
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Imageflow nicht valide  (Read 417 times)
Abenaa

Offline Offline

Posts: 231


« on: August 23, 2010, 05:22:17 PM »

Den halben Nachmittag habe ich jetzt mit Imageflow eine kleine Fotogalerie gebastelt. Als ich fertig war, musste ich feststellen, dass die Seite nun nicht valide ist und folgende Fehlermeldungen auftreten:

Quote
#  Error  Line 59, Column 123: document type does not allow element "link" here

…"http://www.meine-domain.de/modules/imageflow/imageflow.css" media="screen" />



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).
# Error Line 61, Column 126: document type does not allow element "link" here

…design.de/modules/imageflow/css/lightbox.css" type="text/css" media="screen" />



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).


D.h. im body stehen:

Code:
<link rel="stylesheet" href="http://www.meine-domain.de/modules/imageflow/css/lightbox.css" type="text/css" media="screen" />

und

Code:
<link rel="stylesheet" href=""http://www.meine-domain.de/modules/imageflow/imageflow.css" media="screen" />

obwohl sie eigentlich in den head gehören. Wie bekomme ich sie aus dem body raus? 
Logged
Abenaa

Offline Offline

Posts: 231


« Reply #1 on: August 23, 2010, 05:27:06 PM »

Was noch merkwürdig ist, wenn die Sichtbarkeit der Seite in den Seitenoptionen auf privat steht, ist die Seite komischerweise valide, obwohl die beiden styles da auch im body stehen. Steht die Sichtbarkeit auf öffentlich oder versteckt, werden die Fehlermeldungen angezeigt.
Logged
albatros

Offline Offline

Posts: 674


WWW
« Reply #2 on: August 25, 2010, 09:23:04 PM »

Was noch merkwürdig ist, wenn die Sichtbarkeit der Seite in den Seitenoptionen auf privat steht, ist die Seite komischerweise valide...

Hi,

welche Seite bekommt der (HTML-)Validator denn in dem Fall zu Gesicht?  wink

hth

albatros
Logged
Abenaa

Offline Offline

Posts: 231


« Reply #3 on: August 26, 2010, 07:04:19 AM »

Ja, das ist ne gute Frage  cheesy
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!