Hey guys,
Launched this website yesterday:
http://www.whiteapp.com
Trying to get it to validate at the moment. 2 errors. I've trawled the net looking for a solution, to no avail.
The error is this:
Line 126, Column 31: document type does not allow element "script" here (x2)
The code is:
I've found several references to using CDATA, though all of them seem to relate to inline javascript. I'm using lightbox on the site, and calling the JS files externally.Code:<link href="http://www.whiteapp.com/css/screen.css" type="text/css" rel="stylesheet" media="screen" /> <link rel="stylesheet" href="http://www.whiteapp.com/css/lightbox.css" type="text/css" media="screen" /> <script type="text/javascript" src="http://www.whiteapp.com/js/prototype.js"> </script> <script type="text/javascript" src="http://www.whiteapp.com/js/scriptaculous.js?load=effects,builder"> </script> <script type="text/javascript" src="http://www.whiteapp.com/js/lightbox.js"> </script> <title>whiteapp.com - white labelled mobile applications for iPhone, Android, Blackberry, Symbian, Nokia Ovi..</title> </head>
The solution provided by "Tiny" doesn't work either, I've tried.
Anyone aware of a solution? I'm so close!
Much appreciated,
Carl








Bookmarks